You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
serverHTTPPort:=flag.Int("serverHttpPort", 22501, "zip server http listen port")
83
-
gameRootPath:=flag.String("gameRootPath", "D:\\Flashpoint\\Data\\Games", "This is the path where to find the zips")
84
+
gameRootPath:=flag.String("gameRootPath", serverSettings.GameRootPath, "This is the path where to find the zips")
84
85
rootPath:=flag.String("rootPath", "D:\\Flashpoint", "The path that other relative paths use as a base")
85
86
apiPrefix:=flag.String("apiPrefix", "/fpProxy/api", "apiPrefix is used to prefix any API call.")
86
87
useMad4FP:=flag.Bool("UseMad4FP", false, "flag to turn on/off Mad4FP.")
87
88
externalLegacyPort:=flag.String("externalLegacyPort", "22600", "The port that the external legacy server is running on (if handling legacy is disabled).")
88
-
legacyHTDOCSPath:=flag.String("legacyHTDOCSPath", "D:\\Flashpoint\\Legacy\\htdocs", "This is the path for HTDOCS")
89
-
phpCgiPath:=flag.String("phpCgiPath", "D:\\Flashpoint\\Legacy\\php-cgi.exe", "Path to PHP CGI executable")
89
+
legacyHTDOCSPath:=flag.String("legacyHTDOCSPath", serverSettings.LegacyHTDOCSPath, "This is the path for HTDOCS")
90
+
phpCgiPath:=flag.String("phpCgiPath", serverSettings.PhpCgiPath, "Path to PHP CGI executable")
90
91
useInfinityServer:=flag.Bool("useInfinityServer", false, "Whether to use the infinity server or not")
91
-
infinityServerURL:=flag.String("infinityServerURL", "https://example.com/", "The URL of the infinity server")
92
+
infinityServerURL:=flag.String("infinityServerURL", serverSettings.InfinityServerURL, "The URL of the infinity server")
93
+
legacyCGIBINPath:=flag.String("legacyCGIBINPath", serverSettings.LegacyCGIBINPath, "This is the path for CGI-BIN")
94
+
handleLegacyRequests:=flag.Bool("handleLegacyRequests", false, "Whether to handle legacy requests internally (true) or externally (false)")
0 commit comments