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()); const app = routes(choo());
window.app = app;
app.use(metrics); app.use(metrics);
app.use(controller); app.use(controller);
app.use(dragManager); app.use(dragManager);

View File

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