Skip to content

Commit

Permalink
Make SITE_OFFLINE environment variable case-insensitive.
Browse files Browse the repository at this point in the history
  • Loading branch information
cstephen authored and BobTorgerson committed May 1, 2024
1 parent abb9aab commit 253c8ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nuxt.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ export default {
process.env.RASDAMAN_URL || 'https://maps.earthmaps.io/rasdaman/ows',
apiUrl: process.env.SNAP_API_URL || 'https://earthmaps.io',
localStorageExpiration: 4,
offline: process.env.SITE_OFFLINE == 'true',
offline: process.env.SITE_OFFLINE?.toLowerCase() == 'true',
},

// Router customizations
Expand Down

0 comments on commit 253c8ba

Please sign in to comment.