mirror of
https://github.com/yusing/godoxy.git
synced 2026-03-27 03:21:09 +01:00
feat(handler): add SkipOriginCheckMiddleware and configuration option to bypass origin checks
This commit is contained in:
@@ -42,6 +42,8 @@ var (
|
||||
APIUser = GetEnvString("API_USER", "admin")
|
||||
APIPassword = GetEnvString("API_PASSWORD", "password")
|
||||
|
||||
APISkipOriginCheck = GetEnvBool("API_SKIP_ORIGIN_CHECK", false) // skip this in UI Demo
|
||||
|
||||
DebugDisableAuth = GetEnvBool("DEBUG_DISABLE_AUTH", false)
|
||||
|
||||
// OIDC Configuration.
|
||||
|
||||
Reference in New Issue
Block a user