Comment
I'm storing some JSON metadata on a codeberg pages site, but unlike github it can't be accessed due to CORS restrictions. Is there any way to make a site on codeberg pages not have CORS applied?
I'm storing some JSON metadata on a codeberg pages site, but unlike github it can't be accessed due to CORS restrictions. Is there any way to make a site on codeberg pages not have CORS applied?
Check out https://docs.codeberg.org/codeberg-pages/#advanced-usage%3A-canonical-urls, you can use raw URLs that have appropriate CORS headers set.
@fnetX wrote in #1949 (comment):
Check out https://docs.codeberg.org/codeberg-pages/#advanced-usage%3A-canonical-urls, you can use raw URLs that have appropriate CORS headers set.
any examples?
From this
https://codeberg.org/aec/snapdarktheme/src/branch/main/snapdark.user.js
to this
https://aec.codeberg.page/snapdarktheme/snapdark.user.js
@D4llo wrote in #1949 (comment):
From this
https://codeberg.org/aec/snapdarktheme/src/branch/main/snapdark.user.jsto this
https://aec.codeberg.page/snapdarktheme/snapdark.user.js
what?
that's what i'm doing. CORS is still applied.
The link to the docs given by @fnetX has examples, for the raw URLs l: https://raw.codeberg.page/username/reponame/
No due date set.
No dependencies set.
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?