Skip to content

Commit

Permalink
fix(pwa): disable dev mode on production builds
Browse files Browse the repository at this point in the history
Signed-off-by: Patrick Kollitsch <[email protected]>
  • Loading branch information
davidsneighbour committed Nov 29, 2024
1 parent c3315ea commit 45fbe93
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
2 changes: 1 addition & 1 deletion modules/pwa/config/_default/params.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[dnb.pwa]
dev = true
dev = false
favicon = "favicon/favicon.png"

# https://developer.mozilla.org/en-US/docs/Web/Manifest/start_url
Expand Down
16 changes: 16 additions & 0 deletions modules/pwa/config/development/params.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
[dnb.pwa]
dev = true
favicon = "favicon/favicon.png"

# https://developer.mozilla.org/en-US/docs/Web/Manifest/start_url
start_url = ""
# https://developer.mozilla.org/en-US/docs/Web/Manifest/short_name
short_name = ""
# https://developer.mozilla.org/en-US/docs/Web/Manifest/theme_color
theme_color = ""
# https://developer.mozilla.org/en-US/docs/Web/Manifest/background_color
background_color = ""
# https://developer.mozilla.org/en-US/docs/Web/Manifest/display
display = ""
# https://developer.mozilla.org/en-US/docs/Web/Manifest/description
description = ""

0 comments on commit 45fbe93

Please sign in to comment.