Skip to content
This repository was archived by the owner on Mar 27, 2023. It is now read-only.

Commit aa3b585

Browse files
committed
Merge branch '39-fix-quasar-cached-backend-paths' into 'develop'
added navigateFallback and navigateFallbackDenylist to pwa workboxOptions Closes #39 See merge request verbose-equals-true/django-postgres-vue-gitlab-ecs!79
2 parents ea008c9 + a35992f commit aa3b585

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

quasar/quasar.conf.js

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,15 @@ module.exports = function (ctx) {
137137

138138
pwa: {
139139
// workboxPluginMode: "InjectManifest",
140-
// workboxOptions: {}, // only for NON InjectManifest
140+
workboxOptions: {
141+
navigateFallback: "/index.html",
142+
navigateFallbackDenylist: [
143+
// not sure which regex format is correct
144+
// is the leading `/` needed?
145+
/\/[admin,api,flower]+\/.*/,
146+
/[admin,api,flower]+\/.*/,
147+
],
148+
}, // only for NON InjectManifest
141149
manifest: {
142150
// name: "Verbose Equals True",
143151
// short_name: "Verbose Equals True",

0 commit comments

Comments
 (0)