更新 main.go

This commit is contained in:
XOF
2025-12-17 01:31:18 +08:00
parent 7fa042156a
commit aa94af0925

View File

@@ -42,7 +42,7 @@ func init() {
authEnabled = getEnv("AUTH_ENABLED", "false") == "true" || authToken != ""
port = getEnv("PORT", "8080")
keepVersions, _ = strconv.Atoi(getEnv("KEEP_VERSIONS", "3"))
chromeURL = getEnv("CHROME_URL", "https://www.google.cn/chrome?standalone=1&platform=win64")
chromeURL = getEnv("CHROME_URL", "https://dl.google.com/tag/s/appguid%3D%7B8A69D345-D564-463C-AFF1-A69D9E530F96%7D%26iid%3D%7B00000000-0000-0000-0000-000000000000%7D%26lang%3Dzh-CN%26browser%3D4%26usagestats%3D0%26appname%3DGoogle%2520Chrome%26needsadmin%3Dprefers%26ap%3Dx64-stable-statsdef_1%26installdataindex%3Dempty/chrome/install/ChromeStandaloneSetup64.exe")
}
func getEnv(key, defaultValue string) string {