Skip to content

Commit

Permalink
[core] Allow allowServiceWorkers
Browse files Browse the repository at this point in the history
This flag can be overwritten by options.privileges nevertheless Service worker should be possible by default.
  • Loading branch information
HaNdTriX committed Aug 11, 2022
1 parent 228427b commit dc2a7cf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions index.js
Expand Up @@ -43,6 +43,7 @@ module.exports = async function serveNextAt(uri, options = {}) {
privileges: {
standard: true,
secure: true,
allowServiceWorkers: true,
supportFetchAPI: true,
corsEnabled: true,
...privileges,
Expand Down

0 comments on commit dc2a7cf

Please sign in to comment.