Add docker support - reloa3d
Signed-off-by: Rodrigo Martins <rodrigo.sousa.577@gmail.com>
This commit is contained in:
1 parent
6ee201d113
commit
c8df8aa3a1
1 file changed
+10
-2
+10
-2
@@ -6,6 +6,7 @@ export default defineConfig({
|
|||||||
plugins: [react()],
|
plugins: [react()],
|
||||||
server: {
|
server: {
|
||||||
port: 3000,
|
port: 3000,
|
||||||
|
host: true,
|
||||||
allowedHosts: [
|
allowedHosts: [
|
||||||
'localhost',
|
'localhost',
|
||||||
'127.0.0.1',
|
'127.0.0.1',
|
||||||
@@ -13,11 +14,18 @@ export default defineConfig({
|
|||||||
],
|
],
|
||||||
proxy: {
|
proxy: {
|
||||||
'/api': {
|
'/api': {
|
||||||
target: 'https://advx.martinsevieira.adv.br:5000',
|
target: 'http://localhost:5000',
|
||||||
changeOrigin: true,
|
changeOrigin: true,
|
||||||
secure: true,
|
secure: false,
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
hmr: {
|
||||||
|
// Configuração do HMR
|
||||||
|
host: 'advx.martinsevieira.adv.br',
|
||||||
|
protocol: 'wss',
|
||||||
|
clientPort: 443,
|
||||||
|
overlay: true
|
||||||
|
},
|
||||||
},
|
},
|
||||||
css: {
|
css: {
|
||||||
postcss: {
|
postcss: {
|
||||||
|
|||||||
Reference in new issue
Block a user