mirror of
https://gitlab.com/timvisee/send.git
synced 2025-12-07 06:30:53 +03:00
a few changes to make A/B testing easier
This commit is contained in:
9
app/routes/download.js
Normal file
9
app/routes/download.js
Normal file
@@ -0,0 +1,9 @@
|
||||
const preview = require('../templates/preview');
|
||||
const download = require('../templates/download');
|
||||
|
||||
module.exports = function(state, emit) {
|
||||
if (state.transfer) {
|
||||
return download(state, emit);
|
||||
}
|
||||
return preview(state, emit);
|
||||
};
|
||||
Reference in New Issue
Block a user