fox-send/android/android.js

15 lines
440 B
JavaScript
Raw Normal View History

2018-08-16 16:07:12 +00:00
/* global window */
window.MAXFILESIZE = 1024 * 1024 * 1024 * 2;
2018-08-16 16:07:12 +00:00
const choo = require('choo');
const app = choo();
2018-08-16 16:07:12 +00:00
app.use(require('./stores/state').default);
app.use(require('../app/fileManager').default);
app.use(require('./stores/intents').default);
app.route('/', require('./pages/home').default);
app.route('/upload', require('./pages/upload').default);
app.route('/share/:id', require('./pages/share').default);
app.mount('body');