mirror of
https://github.com/Hessenuk/DiscordTickets.git
synced 2025-09-05 17:51:27 +03:00
fix(http): ipv6 support
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user