Commit c5311c0
fix: default dev environment fetches diagram data from download.reactome.org, not dev.reactome.org/download
GeneralService already had the right logic:
download = computed(() =>
environment.preferS3 && this.version.value()
? \`\${environment.s3}/\${this.version.value()}\`
: DOWNLOAD)
but the default environment.ts (used by \`ng serve\` and by the dev
container that backs beta.reactome.org) had preferS3: false, so the
pathway-browser fetched diagram JSON from
dev.reactome.org/download/current/diagram/<stId>.json. That path is
behind mod_auth_openidc; the 302 to the Keycloak login was breaking
any non-authenticated visitor (and any cross-origin caller, since
the redirect doesn't carry CORS headers).
Flipping preferS3 to true routes through download.reactome.org/<v>/
which is the public CDN-style bucket -- same place every other env
already pointed at when the flag was on.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent da99db2 commit c5311c0
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| |||
0 commit comments