This commit is contained in:
2023-07-26 13:22:51 +02:00
parent 1db28088ce
commit a593241f16
3 changed files with 5 additions and 1 deletions

2
.env.development Normal file
View File

@@ -0,0 +1,2 @@
eveal-api-url=/api/
evepraisal-api-url=/appraisal/

2
.env.production Normal file
View File

@@ -0,0 +1,2 @@
eveal-api-url=https://api.eveal.shendai.rip/
evepraisal-api-url=https://evepraisal.shendai.rip/

View File

@@ -16,7 +16,7 @@ export default defineConfig({
strictPort: true,
proxy: {
'/api': {
target: 'https://eveal.shendai.rip/',
target: 'https://api.eveal.shendai.rip/',
changeOrigin: true,
followRedirects: true,
rewrite: (path) => path.replace(/^\/api/, ''),