Fix startup web server flag selection

Pass the flags selected from the independent remote sharing and

debugger startup settings instead of enabling every web service.

This keeps remote disc sharing from exposing the unauthenticated

debugger and upload handlers.
This commit is contained in:
Acts1631 committed 2026-09-03 10:05:21 -04:00
1 parent 2820fa9467
commit f86e04a7c6
1 file changed
+1 -1
+1 -1
View File
@@ -835,7 +835,7 @@ void NativeInit(int argc, const char *argv[], const CommandLineOptions &cmdLineO
flags |= WebServerFlags::DEBUGGER;
}
if (flags != WebServerFlags::NONE) {
StartWebServer(WebServerFlags::ALL);
StartWebServer(flags);
}
std::string sysName = System_GetProperty(SYSPROP_NAME);