mirror of
https://github.com/timvisee/send.git
synced 2025-10-06 02:39:57 +02:00
9 lines
225 B
JavaScript
9 lines
225 B
JavaScript
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);
|
|
};
|