From e5f9673521b6af0a78d030301e9fb715499f8813 Mon Sep 17 00:00:00 2001 From: Danny Coates Date: Tue, 19 Feb 2019 14:14:28 -0800 Subject: [PATCH] added window.app for debugging --- app/main.js | 1 + server/layout.js | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/app/main.js b/app/main.js index 34907b55..e349a658 100644 --- a/app/main.js +++ b/app/main.js @@ -49,6 +49,7 @@ if (process.env.NODE_ENV === 'production') { }; const app = routes(choo()); + window.app = app; app.use(metrics); app.use(controller); app.use(dragManager); diff --git a/server/layout.js b/server/layout.js index 576075f1..77e723d8 100644 --- a/server/layout.js +++ b/server/layout.js @@ -58,7 +58,7 @@ module.exports = function(state, body = '') {