feat: add option to allow worker HTTP image requests
This commit is contained in:
1 parent
4d0b438f81
commit
285c4a7e4c
4 files changed
+28
-5
No files matched your search
@@ -3,6 +3,7 @@ package setting
|
||||
var ServerAddress = "http://localhost:3000"
|
||||
var WorkerUrl = ""
|
||||
var WorkerValidKey = ""
|
||||
var WorkerAllowHttpImageRequestEnabled = false
|
||||
|
||||
func EnableWorker() bool {
|
||||
return WorkerUrl != ""
|
||||
|
||||
Reference in new issue
Block a user