summaryrefslogtreecommitdiff
path: root/opendc-web/opendc-web-ui
diff options
context:
space:
mode:
authorFabian Mastenbroek <mail.fabianm@gmail.com>2022-10-27 13:38:04 +0200
committerFabian Mastenbroek <mail.fabianm@gmail.com>2022-10-27 13:38:04 +0200
commitc210e9f252a4fe6d126ff7d42ed6937dbd1ad1e5 (patch)
tree8c5d1d112a6492f7d3e727d2a0d9d6844f8d294e /opendc-web/opendc-web-ui
parent18de4cff9edc4a79a8ba87d0a102d05248fc7ed7 (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.
Diffstat (limited to 'opendc-web/opendc-web-ui')
-rw-r--r--opendc-web/opendc-web-ui/next.config.js2
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
}
]
}