drop.chapril.org-firefoxsend/app/routes/home.js
2018-01-30 09:37:42 -08:00

10 lines
232 B
JavaScript

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