Rename the domain environment variable and use urljoin when joining URLs

This commit is contained in:
2022-04-20 16:47:47 +02:00
parent 506670e4de
commit 1676186e2f
6 changed files with 19 additions and 8 deletions

8
.env.example Normal file
View File

@ -0,0 +1,8 @@
# Domain where we server files from, not where we upload files to
SERVE_DOMAIN=https://i.example.com/
# Path to the directory where we store files
UPLOAD_FOLDER=/Uploads
# Discord Webhook URL
WEBHOOK_URL=https://discord.com/api/webhooks/9251111537353924718/X0WIe7gAFeHtplVrYZ_zU2Jb22RMOgRlwbaIkXVvZz9Z2H8b4ogfTkE7T-0mQkvPG8_Q