draft market

This commit is contained in:
2023-07-27 09:22:47 +02:00
parent c75f3b6321
commit dc9be7db98
13 changed files with 117 additions and 15 deletions

View File

@@ -17,6 +17,7 @@ export default defineConfig(({ mode }) => {
define: {
'process.env.EVEAL_API_URL': JSON.stringify(env.EVEAL_API_URL),
'process.env.EVEPRAISAL_URL': JSON.stringify(env.EVEPRAISAL_URL),
'process.env.ESI_URL': JSON.stringify(env.ESI_URL),
},
server: {
port: 3000,
@@ -33,6 +34,12 @@ export default defineConfig(({ mode }) => {
changeOrigin: true,
followRedirects: true,
rewrite: (path) => path.replace(/^\/appraisal/, ''),
},
'/esi/': {
target: 'https://esi.evetech.net/latest/',
changeOrigin: true,
followRedirects: true,
rewrite: (path) => path.replace(/^\/esi/, ''),
}
}
}