diff --git a/proxy-serve.js b/proxy-serve.js new file mode 100644 index 000000000..415968c85 --- /dev/null +++ b/proxy-serve.js @@ -0,0 +1,6 @@ +export default [ + { + path: '/api', + rule: { target: 'http://0.0.0.0:3000' }, + }, +]; diff --git a/quasar.config.js b/quasar.config.js index 2ea356afb..6d545c026 100644 --- a/quasar.config.js +++ b/quasar.config.js @@ -179,7 +179,6 @@ export default configure(function (/* ctx */) { 'render', // keep this as last one ], }, - // https://v2.quasar.dev/quasar-cli/developing-pwa/configuring-pwa pwa: { workboxMode: 'generateSW', // or 'injectManifest' diff --git a/src/components/NavBar.vue b/src/components/NavBar.vue index ef5bdc6ac..e4b19988a 100644 --- a/src/components/NavBar.vue +++ b/src/components/NavBar.vue @@ -20,6 +20,7 @@ const appName = 'Lilium'; const pinnedModulesRef = ref(); onMounted(() => stateStore.setMounted()); +const refresh = () => window.location.reload();