Skip to content
This repository was archived by the owner on Oct 29, 2025. It is now read-only.

Conversation

@hariombalhara
Copy link
Member

@hariombalhara hariombalhara commented Aug 20, 2025

https://github.com/calcom/cal.com/blob/main/apps/web/next.config.js#L305

The rewrites here are created by Next.js if the env variable ORGANIZATIONS_ENABLED is present during the Next.js build otherwise at runtime(when running yarn start), logs might show that rewrites are added but they don't work

NEXT_PUBLIC_SINGLE_ORG_SLUG is also used in rewrites so that should also be passed

@hariombalhara hariombalhara changed the title Pass the ORGANIZATIONS_ENABLED and NEXT_PUBLIC_SINGLE_ORG_SLUG env variables fix: Organization booking pages don't work Aug 20, 2025
@hariombalhara hariombalhara requested a review from krumware August 20, 2025 10:04
Copy link
Collaborator

@krumware krumware left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@krumware krumware merged commit 7330755 into main Aug 21, 2025
@krumware krumware deleted the fix-docker-image-orgs branch August 21, 2025 15:50
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants