fox-send/app/routes/home.js

10 lines
232 B
JavaScript
Raw Normal View History

const welcome = require('../templates/welcome');
const upload = require('../templates/upload');
module.exports = function(state, emit) {
2018-01-24 18:23:13 +00:00
if (state.transfer) {
return upload(state, emit);
}
return welcome(state, emit);
};