From c210e9f252a4fe6d126ff7d42ed6937dbd1ad1e5 Mon Sep 17 00:00:00 2001 From: Fabian Mastenbroek Date: Thu, 27 Oct 2022 13:38:04 +0200 Subject: 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. --- opendc-web/opendc-web-ui/next.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'opendc-web') 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 } ] } -- cgit v1.2.3