chore: upgrade next and deps
This commit is contained in:
+1
-1
@@ -1,4 +1,4 @@
|
||||
const imageDomains = (process.env.IMAGE_DOMAINS ?? '').split(',').map(domain => {
|
||||
const imageDomains = (process.env.IMAGE_DOMAINS ?? '').split(',').map((domain) => {
|
||||
const getDataRegex = /(?<protocol>[\w]+)?:\/\/(?<hostname>[\w.-]+)?((?<=[\d]{0,4}):(?<port>[\d]{0,4}))?\/?(?<pathname>.*)?$/
|
||||
const groups = getDataRegex.exec(domain).groups ?? {}
|
||||
return groups
|
||||
|
||||
Reference in New Issue
Block a user