diff --git a/spec/file_caching_test.js b/spec/file_caching_test.js
index c9004fb65f060ed15d1d999ee334e2636dba4ee8..71c79814f8c04d47ef2c59bdc3777f9cfc7887d8 100644
--- a/spec/file_caching_test.js
+++ b/spec/file_caching_test.js
@@ -76,13 +76,6 @@ describe('File caching service', function () {
     expect(response.text).to.equal('<html><head></head><body>it\'s me</body></html>')
   })
 
-  it('serves /ui as index.html', async function () {
-    const response = await request(app).get('/ui')
-    expect(response.statusCode).to.equal(200)
-    expect(response.headers['content-type']).to.equal('text/html')
-    expect(response.text).to.equal('<html><head></head><body>it\'s me</body></html>')
-  })
-
   it('adds / to dependencies', async function () {
     const response = await request(app).get('/dependencies')
     expect(response.statusCode).to.equal(200)
diff --git a/spec/redirect_test.js b/spec/redirect_test.js
index c58060b18a25210748fba72ea231f73ee3c93ccd..1981c7d657ebbd6e68f1a7b4f9e5e9f05765c942 100644
--- a/spec/redirect_test.js
+++ b/spec/redirect_test.js
@@ -32,4 +32,10 @@ describe('Redirects', function () {
     expect(response.statusCode).to.equal(302)
     expect(response.headers.location).to.equal('/appsuite/whatever/path')
   })
+
+  it('redirects /ui to /', async function () {
+    const response = await request(app).get('/ui')
+    expect(response.statusCode).to.equal(302)
+    expect(response.headers.location).to.equal('/')
+  })
 })
diff --git a/src/createApp.js b/src/createApp.js
index 7e9434e4bfb6ee93310ad24c92ef1b468e70e9c4..165eca8df1d4c85e41c6fac4654eb56f83078df6 100644
--- a/src/createApp.js
+++ b/src/createApp.js
@@ -115,9 +115,7 @@ export function createApp () {
   // this should hopefully be resolved with an ingress
   // or proper config. But is used to be safe on all ends
   app.get('/ui', async (req, res, next) => {
-    const { 'content-type': contentType, content } = fileCache.get('/index.html')
-    if (content) return res.setHeader('content-type', contentType).status(200).send(content)
-    next()
+    res.redirect(process.env.APP_ROOT)
   })
 
   app.post('/redirect', (req, res, next) => {