mirror of
https://gitlab.com/timvisee/send.git
synced 2024-11-11 21:52:39 +01:00
10 lines
232 B
JavaScript
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);
|
|
};
|