mirror of
https://gh-proxy.org/https://github.com/klinsmaya/new-api.git
synced 2026-11-08 01:17:09 +08:00
12 lines
239 B
Go
12 lines
239 B
Go
package system_setting
|
|
|
|
var ServerAddress = "http://localhost:3000"
|
|
var TaskPublicAddress = ""
|
|
var WorkerUrl = ""
|
|
var WorkerValidKey = ""
|
|
var WorkerAllowHttpImageRequestEnabled = false
|
|
|
|
func EnableWorker() bool {
|
|
return WorkerUrl != ""
|
|
}
|