Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

domain/embed/embed.js returns 404 error #360

Open
DerLeole opened this issue May 10, 2024 · 4 comments
Open

domain/embed/embed.js returns 404 error #360

DerLeole opened this issue May 10, 2024 · 4 comments

Comments

@DerLeole
Copy link

The current docker container doesnt seem to provide the embed.js file that is needed for fully selfhosted embeds.

@buzzard10
Copy link

I have the same problem 😢

@fedenelli
Copy link

Same here. /embed/embed.js returns 404. Rolled back to version 3.9.1 until v4 is fixed.
image

@Qodestackr
Copy link

Rollback the lib as new version uses:
useEffect(() => {
(async function () {
const cal = await getCalApi({});//await getCalApi({ "embedLibUrl": "http://localhost:3000/embed/embed.js" });
cal("ui", { "styles": { "branding": { "brandColor": "#000000" } }, "hideEventTypeDetails": false, "layout": "month_view" });
})();
}, [])

@Lars-
Copy link

Lars- commented May 25, 2024

I found a workaround. Replace the url ending with embed/embed.js with https://app.cal.com/embed/embed.js or even better, download the file and serve it from your own domain.

It would be better if this gets fixed, but at least we can use the embed functionality this way.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants