In the #web2cit project, we host some JSON schema files in the [[ https://gitlab.wikimedia.org/diegodlh/w2c-core/-/tree/main/schema | Gitlab repository ]].
We would like these files to be accessible from online JSON editors, to make it easier for our users to edit JSON files following these schemas.
However, that doesn't seem possible because the Gitlab server is not sending a `
Access-Control-Allow-Origin: *` in the response.
This has been requested [[ https://gitlab.com/gitlab-org/gitlab/-/issues/16732 | upstream ]], but it hasn't been resolved yet. In the meantime, using external services has been proposed as a workaround, such as https://raw.githack.com/, https://statically.io/. However, these do not work for the Wikimedia instance of Gitlab.
Would it make sense implementing this in Wikimedia's Gitlab? Or would there be a workaround, other than deploying these files to a separate domain using Gitlab CI?