mirror of
https://codeberg.org/video-prize-ranch/rimgo.git
synced 2026-01-28 09:31:13 +00:00
remove FIBER_PREFORK
This commit is contained in:
@@ -11,7 +11,6 @@ type config struct {
|
|||||||
ImgurId string
|
ImgurId string
|
||||||
ProtocolDetection bool
|
ProtocolDetection bool
|
||||||
Secure bool
|
Secure bool
|
||||||
FiberPrefork bool
|
|
||||||
ForceWebp bool
|
ForceWebp bool
|
||||||
ImageCache bool
|
ImageCache bool
|
||||||
CleanupInterval time.Duration
|
CleanupInterval time.Duration
|
||||||
@@ -39,7 +38,6 @@ func LoadConfig() {
|
|||||||
ImgurId: envString("IMGUR_CLIENT_ID", "546c25a59c58ad7"),
|
ImgurId: envString("IMGUR_CLIENT_ID", "546c25a59c58ad7"),
|
||||||
ProtocolDetection: envBool("PROTOCOL_DETECTION"),
|
ProtocolDetection: envBool("PROTOCOL_DETECTION"),
|
||||||
Secure: envBool("SECURE"),
|
Secure: envBool("SECURE"),
|
||||||
FiberPrefork: envBool("FIBER_PREFORK"),
|
|
||||||
ForceWebp: envBool("FORCE_WEBP"),
|
ForceWebp: envBool("FORCE_WEBP"),
|
||||||
Privacy: map[string]interface{}{
|
Privacy: map[string]interface{}{
|
||||||
"set": os.Getenv("PRIVACY_NOT_COLLECTED") != "",
|
"set": os.Getenv("PRIVACY_NOT_COLLECTED") != "",
|
||||||
|
|||||||
Reference in New Issue
Block a user