docker
docker copied to clipboard
domain/embed/embed.js returns 404 error
The current docker container doesnt seem to provide the embed.js file that is needed for fully selfhosted embeds.
I have the same problem 😢
Same here. /embed/embed.js returns 404. Rolled back to version 3.9.1 until v4 is fixed.
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" }); })(); }, [])
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.
This was already an issue last September (https://github.com/calcom/cal.com/issues/11068). @PeerRich said it was resolved but it's definitely back. :/
investigating
Are you guys using the latest docker version? I am setting up docker at the moment but I don't see any issue with the code related to this.
There was an issue a month back for a brief period which was fixed.
@hariombalhara Thanks! Now waiting for your pull request to be merged to main :) (Using the latest docker version and also the latest docker image version btw.)