From 2d0b5c872fc1c9183f1721859cd9ab03856f83c8 Mon Sep 17 00:00:00 2001 From: Hannah Wolfe Date: Thu, 21 Oct 2021 19:43:48 +0100 Subject: [PATCH] Renamed frontend/web/app to site - This leaves us room to bring the frontend app in as app.js --- core/bridge.js | 2 +- core/frontend/web/index.js | 2 +- core/frontend/web/{app.js => site.js} | 0 3 files changed, 2 insertions(+), 2 deletions(-) rename core/frontend/web/{app.js => site.js} (100%) diff --git a/core/bridge.js b/core/bridge.js index f36e2f1e80..f7d5c863e7 100644 --- a/core/bridge.js +++ b/core/bridge.js @@ -88,7 +88,7 @@ class Bridge { reloadFrontend() { const apiVersion = this.getFrontendApiVersion(); debug('reload frontend', apiVersion); - const siteApp = require('./frontend/web/app'); + const siteApp = require('./frontend/web/site'); siteApp.reload({apiVersion}); } } diff --git a/core/frontend/web/index.js b/core/frontend/web/index.js index a9612f49fb..ee40022761 100644 --- a/core/frontend/web/index.js +++ b/core/frontend/web/index.js @@ -1 +1 @@ -module.exports = require('./app'); +module.exports = require('./site'); diff --git a/core/frontend/web/app.js b/core/frontend/web/site.js similarity index 100% rename from core/frontend/web/app.js rename to core/frontend/web/site.js