mirror of
https://github.com/Hessenuk/DiscordTickets.git
synced 2025-01-10 18:06:27 +02:00
fix(http): ipv6 support
This commit is contained in:
parent
8bef2eb5f8
commit
e78469e9f6
@ -1 +1 @@
|
||||
module.exports.domain = process.env.HTTP_EXTERNAL.match(/http(s?):\/\/(?<domain>[a-zA-Z0-9\-_.]+)(:\d+)?/).groups.domain;
|
||||
module.exports.domain = new URL(process.env.HTTP_EXTERNAL).hostname;
|
||||
|
Loading…
Reference in New Issue
Block a user