|
@@ -20,18 +20,13 @@ export default defineConfig(({ command }) => ({
|
|
|
},
|
|
|
},
|
|
|
},
|
|
|
- base: '/ptc/',
|
|
|
+ base: '/spa/',
|
|
|
server: {
|
|
|
proxy: {
|
|
|
'/api/': {
|
|
|
- target: 'http://t.ptcrepair.com.au/care',
|
|
|
- changeOrigin: true,
|
|
|
- rewrite: path => path.replace(/^\/api/, ''),
|
|
|
- },
|
|
|
- '/api2/': {
|
|
|
target: 'http://t.ptcrepair.com.au',
|
|
|
changeOrigin: true,
|
|
|
- rewrite: path => path.replace(/^\/api2/, ''),
|
|
|
+ rewrite: path => path.replace(/^\/api/, ''),
|
|
|
},
|
|
|
},
|
|
|
},
|