This commit is contained in:
jeremygan2021
2026-02-10 22:11:02 +08:00
parent a14c2b6240
commit 6328e1d644
2 changed files with 6 additions and 0 deletions

View File

@@ -59,6 +59,11 @@ MIDDLEWARE = [
CORS_ALLOW_ALL_ORIGINS = True
CSRF_TRUSTED_ORIGINS = [
"https://market.quant-speed.com",
"http://market.quant-speed.com",
]
ROOT_URLCONF = 'config.urls'
TEMPLATES = [

View File

@@ -12,5 +12,6 @@ export default defineConfig({
preview: {
host: '0.0.0.0',
port: 15173,
allowedHosts: ['market.quant-speed.com']
}
})