1
0
mirror of https://gitlab.com/timvisee/send.git synced 2024-11-15 15:42:42 +01:00
send/android/android.js
2018-08-16 12:07:12 -04:00

15 lines
440 B
JavaScript

/* global window */
window.MAXFILESIZE = 1024 * 1024 * 1024 * 2;
const choo = require('choo');
const app = choo();
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');