added window.app for debugging

This commit is contained in:
Danny Coates 2019-02-19 14:14:28 -08:00
parent 2c12b614f0
commit e5f9673521
No known key found for this signature in database
GPG key ID: 4C442633C62E00CB
2 changed files with 2 additions and 1 deletions

View file

@ -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);

View file

@ -58,7 +58,7 @@ module.exports = function(state, body = '') {
<link
rel="mask-icon"
href="${assets.get('safari-pinned-tab.svg')}"
color="#5bbad5"
color="#838383"
/>
<script defer src="${assets.get('app.js')}"></script>
</head>