fix: correct preview proxy target to cywl-scoring-backend:8876
All checks were successful
Deploy to Server / deploy (push) Successful in 1m53s
All checks were successful
Deploy to Server / deploy (push) Successful in 1m53s
This commit is contained in:
@@ -33,27 +33,26 @@ export default defineConfig({
|
||||
},
|
||||
preview: {
|
||||
host: '0.0.0.0',
|
||||
port: 15173,
|
||||
allowedHosts: ['market.quant-speed.com'],
|
||||
port: 8890,
|
||||
proxy: {
|
||||
'/api': {
|
||||
target: 'http://backend:8000',
|
||||
target: 'http://cywl-scoring-backend:8876',
|
||||
changeOrigin: true,
|
||||
},
|
||||
'/admin': {
|
||||
target: 'http://backend:8000',
|
||||
target: 'http://cywl-scoring-backend:8876',
|
||||
changeOrigin: true,
|
||||
},
|
||||
'/static': {
|
||||
target: 'http://backend:8000',
|
||||
target: 'http://cywl-scoring-backend:8876',
|
||||
changeOrigin: true,
|
||||
},
|
||||
'/media': {
|
||||
target: 'http://backend:8000',
|
||||
target: 'http://cywl-scoring-backend:8876',
|
||||
changeOrigin: true,
|
||||
},
|
||||
'/judge': {
|
||||
target: 'http://backend:8000',
|
||||
target: 'http://cywl-scoring-backend:8876',
|
||||
changeOrigin: true,
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user