mirror of
https://github.com/Hessenuk/DiscordTickets.git
synced 2025-09-06 02:01:26 +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