Skip to content

Commit

Permalink
config: add skew protection
Browse files Browse the repository at this point in the history
  • Loading branch information
mimecuvalo committed Nov 3, 2023
1 parent 939a892 commit c1e5208
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ const nextConfig = {
},

experimental: {
useDeploymentId: true, // skew protection
scrollRestoration: true,
},

Expand Down
4 changes: 2 additions & 2 deletions public/service-worker.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!--
This has mainly moved to HTMLBase.js since the helloworld app does server-side rendering.
This has mainly moved to _document.tsx since the all-the-things app does server-side rendering.
This is only used for the service worker in production mode.
NOTE: Keep in sync with HTMLBase/HTMLHead!
NOTE: Keep in sync with _document.tsx!
-->
<!doctype html>
<html lang="en">
Expand Down

0 comments on commit c1e5208

Please sign in to comment.