Skip to content

Commit

Permalink
https host
Browse files Browse the repository at this point in the history
  • Loading branch information
dbauszus-glx committed Mar 6, 2024
1 parent 140d06c commit 85fb8e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mod/utils/reqHost.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ module.exports = req => {
host = `http://${process.env.ALIAS||req.headers.host}${process.env.DIR}`
} else if (req.headers.host) {

host = `http://${process.env.ALIAS||req.headers.host}${process.env.DIR}`
host = `https://${process.env.ALIAS||req.headers.host}${process.env.DIR}`
} else if (req.headers.referer) {

host = new URL(req.headers.referer).origin
Expand Down

0 comments on commit 85fb8e5

Please sign in to comment.