drop.chapril.org-firefoxsend/app/routes/home.js

10 lines
224 B
JavaScript
Raw Normal View History

2018-01-30 21:15:09 +01:00
const welcome = require('../pages/welcome');
const upload = require('../pages/upload');
module.exports = function(state, emit) {
2018-01-24 19:23:13 +01:00
if (state.transfer) {
return upload(state, emit);
}
return welcome(state, emit);
};