summaryrefslogtreecommitdiff
path: root/opendc-web/opendc-web-ui/next.config.js
diff options
context:
space:
mode:
Diffstat (limited to 'opendc-web/opendc-web-ui/next.config.js')
-rw-r--r--opendc-web/opendc-web-ui/next.config.js9
1 files changed, 9 insertions, 0 deletions
diff --git a/opendc-web/opendc-web-ui/next.config.js b/opendc-web/opendc-web-ui/next.config.js
index 44ebfff6..97580fa0 100644
--- a/opendc-web/opendc-web-ui/next.config.js
+++ b/opendc-web/opendc-web-ui/next.config.js
@@ -25,4 +25,13 @@ module.exports = {
experimental: {
eslint: true,
},
+ async redirects() {
+ return [
+ {
+ source: '/',
+ destination: '/projects',
+ permanent: true,
+ },
+ ]
+ },
}