Settings reverse proxy (doesn't work)

This commit is contained in:
Isaac
2022-09-07 21:24:16 +01:00
parent 742dedd635
commit be0795cde0
9 changed files with 48 additions and 26 deletions

View File

@@ -1 +1 @@
module.exports.domain = process.env.API_EXTERNAL.match(/http(s?):\/\/(?<domain>[a-zA-Z0-9\-_.]+)(:\d+)?/).groups.domain;
module.exports.domain = process.env.HTTP_EXTERNAL.match(/http(s?):\/\/(?<domain>[a-zA-Z0-9\-_.]+)(:\d+)?/).groups.domain;

View File

@@ -10,6 +10,7 @@ const colours = {
info: ['&3', '&b'],
notice: ['&!6&0', '&!6&0'],
success: ['&2', '&a'],
verbose: ['&7', '&f'],
warn: ['&6', '&e'],
};