mirror of
https://github.com/WiiLink24/wfc-server.git
synced 2026-08-28 11:34:16 -05:00
NAS: Forward payload subpaths to payload-server
This commit is contained in:
@@ -68,7 +68,7 @@ func StartServer(reload bool) {
|
||||
|
||||
if payloadServerAddress != "" {
|
||||
// Forward the request to the payload server
|
||||
authMux.HandleFunc("/payload", forwardPayloadRequest)
|
||||
authMux.HandleFunc("/payload/", forwardPayloadRequest)
|
||||
} else {
|
||||
authMux.HandleFunc("/payload", handlePayloadRequest)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user