Skip to content

FQDN not fetching for public page #27218

@CaptainTotte

Description

@CaptainTotte

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

  1. Install via docker compose with provided .env and docker-compose file.
  2. Start app, go thru first-time setup. Here I also noticed that my user will be localhost/user instead of domain/user.
  3. 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

Image

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"'`

Metadata

Metadata

Assignees

No one assigned

    Labels

    🐛 bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions