This commit is contained in:
richburdon
2020-05-26 17:31:07 -04:00
parent 9ea39b6088
commit 425fd757a0
11 changed files with 17 additions and 11 deletions
+1
View File
@@ -47,6 +47,7 @@ const app = express();
const { app: { publicUrl } } = config;
// TODO(burdon): Load via WNS.
app.get(`${publicUrl}(/:filePath)?`, (req, res) => {
const { filePath = 'index.html' } = req.params;
const file = path.join(__dirname, '../../../node_modules/@dxos/console-client/dist/production', filePath);