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