drop.chapril.org-firefoxsend/app/routes/home.js
2018-01-30 17:29:51 -08:00

10 lines
224 B
JavaScript

const welcome = require('../pages/welcome');
const upload = require('../pages/upload');
module.exports = function(state, emit) {
if (state.transfer) {
return upload(state, emit);
}
return welcome(state, emit);
};