remove my vite conf
This commit is contained in:
parent
c860efdb8d
commit
5aad3a4109
@ -56,18 +56,6 @@ export default defineConfig({
|
|||||||
fs: {
|
fs: {
|
||||||
cachedChecks: false
|
cachedChecks: false
|
||||||
},
|
},
|
||||||
host: '0.0.0.0',
|
|
||||||
port: 3001,
|
port: 3001,
|
||||||
https: {
|
|
||||||
cert: fs.readFileSync(path.resolve(__dirname, './public/ssl/certs/site.crt')),
|
|
||||||
key: fs.readFileSync(path.resolve(__dirname, './public/ssl/private/site.dec.key'))
|
|
||||||
},
|
|
||||||
proxy: {
|
|
||||||
'/api': {
|
|
||||||
target: 'https://theradiadev2.northeurope.cloudapp.azure.com:5000',
|
|
||||||
changeOrigin: true,
|
|
||||||
rewrite: (path) => path.replace(/^\/api/, '')
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
});
|
});
|
Loading…
x
Reference in New Issue
Block a user