This commit is contained in:
2025-11-02 10:08:57 +03:00
parent 83d2666f22
commit d3d8b7522a
41 changed files with 518 additions and 496 deletions

View File

@@ -117,6 +117,16 @@ export default defineConfig((ctx) => {
changeOrigin: true,
ws: true
},
// необходимо создать simlink
// mklink /D "F:\project\tgCrew\admin\public\resources" "F:\project\tgCrew\backend\public\resources"
'/resources': {
target: 'http://localhost:3000',
changeOrigin: true,
secure: false,
pathRewrite: {
'^/resources': '/resources'
}
}
/* '/ws': {
target: 'ws://localhost:3000', // или wss:// для HTTPS
changeOrigin: true,
@@ -126,7 +136,7 @@ export default defineConfig((ctx) => {
},
// https: true,
// open: true // opens browser window automatically
open: false // opens browser window automatically
},
// https://v2.quasar.dev/quasar-cli-vite/quasar-config-file#framework
@@ -244,7 +254,7 @@ export default defineConfig((ctx) => {
builder: {
// https://www.electron.build/configuration/configuration
appId: 'projectsnode'
appId: 'tgcrew'
}
},