debug
This commit is contained in:
@@ -11,10 +11,7 @@ export default defineConfig((/* ctx */) => {
|
||||
// app boot file (/src/boot)
|
||||
// --> boot files are part of "main.js"
|
||||
// https://v2.quasar.dev/quasar-cli-vite/boot-files
|
||||
boot: [
|
||||
'axios',
|
||||
'socket',
|
||||
],
|
||||
boot: ['axios', 'socket'],
|
||||
|
||||
// https://v2.quasar.dev/quasar-cli-vite/quasar-config-file#css
|
||||
css: ['app.scss'],
|
||||
@@ -65,13 +62,10 @@ export default defineConfig((/* ctx */) => {
|
||||
// extendViteConf (viteConf) {},
|
||||
// viteVuePluginOptions: {},
|
||||
|
||||
extendViteConf () {
|
||||
extendViteConf() {
|
||||
return {
|
||||
server: {
|
||||
allowedHosts: [
|
||||
'localhost',
|
||||
'strixx.famor.org',
|
||||
],
|
||||
allowedHosts: ['localhost'],
|
||||
},
|
||||
};
|
||||
},
|
||||
@@ -95,21 +89,21 @@ export default defineConfig((/* ctx */) => {
|
||||
devServer: {
|
||||
// https: true,
|
||||
open: false, // opens browser window automatically
|
||||
public: 'http://strixx.famor.org:9000',
|
||||
// public: 'http://strixx.famor.org:9000',
|
||||
proxy: {
|
||||
// proxy all requests starting with /api to jsonplaceholder
|
||||
'/api': {
|
||||
target: 'http://localhost:8000',
|
||||
changeOrigin: true,
|
||||
},
|
||||
},
|
||||
'/socket.io': {
|
||||
target: 'http://localhost:8000', // Your backend WebSocket server
|
||||
secure: false, // Set to true if using wss://
|
||||
ws: true, // Enable WebSocket proxying
|
||||
rewriteWsOrigin: true,
|
||||
changeOrigin: true,
|
||||
// rewrite: (path) => path.replace(/^\/socket.io/, ''),
|
||||
}
|
||||
// rewrite: (path) => path.replace(/^\/socket.io/, ''),
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
@@ -129,10 +123,7 @@ export default defineConfig((/* ctx */) => {
|
||||
// directives: [],
|
||||
|
||||
// Quasar plugins
|
||||
plugins: [
|
||||
'Dialog',
|
||||
'Notify',
|
||||
],
|
||||
plugins: ['Dialog', 'Notify'],
|
||||
},
|
||||
// animations: 'all', // --- includes all animations
|
||||
// https://v2.quasar.dev/options/animations
|
||||
|
||||
Reference in New Issue
Block a user