Set domain manually
This commit is contained in:
parent
fe0e222417
commit
def1d190c9
2 changed files with 3 additions and 2 deletions
|
@ -1,4 +1,5 @@
|
|||
{
|
||||
"trust": [],
|
||||
"blacklist": []
|
||||
"blacklist": [],
|
||||
"domain": "url.viois.gay"
|
||||
}
|
|
@ -62,7 +62,7 @@ app.get("/makeURL", (req, res) => {
|
|||
"url": url
|
||||
})
|
||||
|
||||
writep(`Done! Find your URL at: <a href="/url/${shortURL.shortCode}">${req.hostname + "/url/" + shortURL.shortCode}</a>`)
|
||||
writep(`Done! Find your URL at: <a href="https://${fileHandler.config.domain}/url/${shortURL.shortCode}">${fileHandler.config.domain + "/url/" + shortURL.shortCode}</a>`)
|
||||
|
||||
finishHtml()
|
||||
})
|
||||
|
|
Loading…
Reference in a new issue