feat: 添加 contest.quant-speed.com 域名支持
All checks were successful
Deploy to Server / deploy (push) Successful in 8m3s
All checks were successful
Deploy to Server / deploy (push) Successful in 8m3s
This commit is contained in:
@@ -72,6 +72,8 @@ CORS_ALLOW_ALL_ORIGINS = True
|
||||
CSRF_TRUSTED_ORIGINS = [
|
||||
"https://market.quant-speed.com",
|
||||
"http://market.quant-speed.com",
|
||||
"https://contest.quant-speed.com",
|
||||
"http://contest.quant-speed.com",
|
||||
"http://localhost:8000",
|
||||
]
|
||||
|
||||
|
||||
@@ -34,6 +34,7 @@ export default defineConfig({
|
||||
preview: {
|
||||
host: '0.0.0.0',
|
||||
port: 8890,
|
||||
allowedHosts: ['contest.quant-speed.com'],
|
||||
proxy: {
|
||||
'/api': {
|
||||
target: 'http://cywl-scoring-backend:8876',
|
||||
|
||||
Reference in New Issue
Block a user