mirror of
https://github.com/shuaiplus/nodewarden.git
synced 2026-11-04 18:40:20 +00:00
Remove WEBSITE_ICONS_ENABLED and always enable website icons
This commit is contained in:
1 parent
f532d3ace3
commit
57c5ef9da6
7 files changed
+6
-10
No files matched your search
@@ -50,7 +50,7 @@ export interface WebBootstrapResponse {
|
||||
}
|
||||
|
||||
function isWebsiteIconProxyEnabled(env: Env): boolean {
|
||||
return ['1', 'true', 'yes', 'on'].includes(String(env.WEBSITE_ICONS_ENABLED || '').trim().toLowerCase());
|
||||
return true;
|
||||
}
|
||||
|
||||
function isSameOriginWriteRequest(request: Request): boolean {
|
||||
|
||||
Reference in new issue
Block a user