diff --git a/server/config/env/production.js b/server/config/env/production.js index 06ae35f7..46985a7d 100644 --- a/server/config/env/production.js +++ b/server/config/env/production.js @@ -321,11 +321,4 @@ module.exports = { // baseUrl: 'https://example.com', // internalEmailAddress: 'support@example.com', }, - - routes: { - 'GET /*': { - view: 'index', - skipAssets: true, - }, - }, }; diff --git a/server/config/routes.js b/server/config/routes.js index 3b2071bc..a13dbaac 100644 --- a/server/config/routes.js +++ b/server/config/routes.js @@ -84,4 +84,11 @@ module.exports.routes = { action: 'attachments/download-thumbnail', skipAssets: false, }, + + routes: { + 'GET /*': { + view: 'index', + skipAssets: true, + }, + }, };