mirror of
https://wiilab.wiimart.org/wiimart/WiiSOAP
synced 2025-09-06 05:21:04 +02:00
Fixed port from 8000 to just 80(tm)
This commit is contained in:
parent
6d2d566802
commit
89ec54ec66
2
main.go
2
main.go
@ -112,7 +112,7 @@ type UNR struct {
|
|||||||
func main() {
|
func main() {
|
||||||
fmt.Println("Starting HTTP connection (Port 8000)...")
|
fmt.Println("Starting HTTP connection (Port 8000)...")
|
||||||
http.HandleFunc("/", handler) // each request calls handler
|
http.HandleFunc("/", handler) // each request calls handler
|
||||||
log.Fatal(http.ListenAndServe(":8000", nil))
|
log.Fatal(http.ListenAndServe(":80", nil))
|
||||||
}
|
}
|
||||||
|
|
||||||
func handler(w http.ResponseWriter, r *http.Request) {
|
func handler(w http.ResponseWriter, r *http.Request) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user