包含Go API项目的所有源代码、配置文件、Docker配置、文档和前端资源 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
11 lines
205 B
Go
11 lines
205 B
Go
package setting
|
|
|
|
var ServerAddress = "http://localhost:3000"
|
|
var WorkerUrl = ""
|
|
var WorkerValidKey = ""
|
|
var WorkerAllowHttpImageRequestEnabled = false
|
|
|
|
func EnableWorker() bool {
|
|
return WorkerUrl != ""
|
|
}
|