mirror of
https://wiilab.wiimart.org/wiimart/WiiSOAP
synced 2025-09-05 21:11:02 +02:00
added default case
This commit is contained in:
parent
3d130ccafa
commit
8e8f8ee06e
3
main.go
3
main.go
@ -366,6 +366,9 @@ func handler(w http.ResponseWriter, r *http.Request) {
|
|||||||
</soapenv:Envelope>`)
|
</soapenv:Envelope>`)
|
||||||
fmt.Println("Delivered response!")
|
fmt.Println("Delivered response!")
|
||||||
|
|
||||||
|
default:
|
||||||
|
fmt.Fprintf(w, "WiiSOAP can't handle this. Try again later or actually use a Wii instead of a computer.")
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// TODO: Add NUS and CAS SOAP to the case list.
|
// TODO: Add NUS and CAS SOAP to the case list.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user