1
0
mirror of https://gitlab.com/timvisee/send.git synced 2024-11-11 21:52:39 +01:00
send/app/routes/home.js

10 lines
225 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) {
if (state.uploading) {
return upload(state, emit);
}
return welcome(state, emit);
};