feat(frontend): vite 白名单放行 sakurafrp 域名后缀
This commit is contained in:
@@ -24,6 +24,9 @@ const tunnelHosts = [
|
||||
'.ngrok.dev',
|
||||
'.ngrok.io',
|
||||
'.trycloudflare.com',
|
||||
'.nyat.app',
|
||||
'.natfrp.net',
|
||||
'.natfrp.cloud',
|
||||
]
|
||||
const extraAllowedHosts = (process.env.VITE_ALLOWED_HOSTS || '')
|
||||
.split(',')
|
||||
|
||||
Reference in New Issue
Block a user