Skip to content

Commit

Permalink
disabled unneccessary tests and res hack for speedup
Browse files Browse the repository at this point in the history
  • Loading branch information
suculent committed Nov 16, 2023
1 parent 1c09490 commit ec4ba74
Show file tree
Hide file tree
Showing 29 changed files with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/router.transfer.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,12 @@ module.exports = function (app) {

function transferResultRedirect(success, res, response) {

/*
// solves `Headers already set` issue?
if ((process.env.ENVIRONMENT === "test") || (process.env.ENVIRONMENT === "development")) {
return Promise.resolve(response);
}
*/

if (success === false) {
res.redirect(app_config.public_url + "/error.html?success=failed&reason=" + response);
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit ec4ba74

Please sign in to comment.