diff options
| author | Fabian Mastenbroek <mail.fabianm@gmail.com> | 2022-10-27 13:38:04 +0200 |
|---|---|---|
| committer | Fabian Mastenbroek <mail.fabianm@gmail.com> | 2022-10-27 13:38:04 +0200 |
| commit | c210e9f252a4fe6d126ff7d42ed6937dbd1ad1e5 (patch) | |
| tree | 8c5d1d112a6492f7d3e727d2a0d9d6844f8d294e | |
| parent | 18de4cff9edc4a79a8ba87d0a102d05248fc7ed7 (diff) | |
fix(web/ui): Make root redirect non-permanent
This change makes the root redirect to the projects page temporary, to
prevent browsers from caching this route indefinitely, while we might
add a home page in the future.
| -rw-r--r-- | opendc-web/opendc-web-ui/next.config.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/opendc-web/opendc-web-ui/next.config.js b/opendc-web/opendc-web-ui/next.config.js index a8588769..5ffd2533 100644 --- a/opendc-web/opendc-web-ui/next.config.js +++ b/opendc-web/opendc-web-ui/next.config.js @@ -35,7 +35,7 @@ module.exports = (phase) => withConfig({ { source: '/', destination: '/projects', - permanent: true + permanent: false } ] } |
