GitHub, Gist and GitLab file links are read from their raw file; any other server has to allow cross-origin requests. A .layout.json next to the .dbml is used too.
.layout.json
.dbml