Complete settings integration

This commit is contained in:
Isaac
2022-09-06 20:46:18 +01:00
parent c101562dcc
commit fdce924b22
4 changed files with 24 additions and 33 deletions

View File

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