-
Notifications
You must be signed in to change notification settings - Fork 11.7k
Description
Issue Summary
Everything points to the domain, but the "View Public Page" link which still shows localhost:3000 and profile link that's showing locahost:3000/user instead of domain/user.
Steps to Reproduce
- Install via docker compose with provided .env and docker-compose file.
- Start app, go thru first-time setup. Here I also noticed that my user will be localhost/user instead of domain/user.
- Click on View Public Page or go to profile to see profile link.
Any other relevant information. For example, why do you consider this a bug and what did you expect to happen instead?
Actual Results
- Everything works as expected, except this.
Expected Results
- All should link to provided domain in the .env
Evidence
I've replace my actual domain with "set" in below example. Also removed the NEXTAUTH secret.
`NEXT_PUBLIC_WEBAPP_URL="https://set"
NEXT_PUBLIC_WEBSITE_URL="https://set"
NEXT_PUBLIC_CONSOLE_URL="http://localhost:3004"
NEXT_PUBLIC_EMBED_LIB_URL="https://set/embed/embed.js"
NEXTAUTH_URL="https://set"
NEXTAUTH_SECRET=""
NEXTAUTH_COOKIE_DOMAIN=".set"
CALCOM_TELEMETRY_DISABLED=
ALLOWED_HOSTNAMES='"set","localhost:3035","localhost:3000","cal.local:3000","cal.com","cal.dev","cal-staging.com","cal.community"'
RESERVED_SUBDOMAINS='"app","auth","docs","design","console","go","status","api","saml","www","matrix","developer","cal","my","team","support","security","blog","learn","admin"'`