D
Dokploy4mo ago
Gurkan

dokploy adding 2 forward slashes after domain

hi! i'm trying to deploy my website using a dockerfile (https://github.com/thatgurkangurk/gurkz.me/blob/main/Dockerfile) when i add a domain, it adds a double slash after the domain, which causes SvelteKit to 404 it is not visible in the browser however
GitHub
gurkz.me/Dockerfile at main · thatgurkangurk/gurkz.me
my little website. Contribute to thatgurkangurk/gurkz.me development by creating an account on GitHub.
No description
4 Replies
Gurkan
GurkanOP4mo ago
all other configurations are default
Gurkan
GurkanOP4mo ago
domain configuration
No description
arobius
arobius4mo ago
I haven't deployed svelte kit and I usually deploy using docker compose, but would this line in your dockerfile be the potential culprit?
ENV ORIGIN="https://www.gurkz.me/"
ENV ORIGIN="https://www.gurkz.me/"
Try removing that extra forward slash at the end and see if it helps.
Gurkan
GurkanOP4mo ago
let me check rq yes it did indeed solve it thanks

Did you find this page helpful?