Skip to content

Deployed app fails to load when configured with custom domain #18

@isedwards

Description

@isedwards

#16 successfully built and deployed the app to the gh-pages branch and was visible at https://opencdms.github.io/opencdms-app

However, when I set up a custom domain (and GitHub automatically committed a CNAME file to the gh-pages branch), https://opencdms.github.io/opencdms-app correctly redirects to https://demo.opencdms.org but a blank page is shown.

The image below shows that the JS and CSS files are no longer found (although the favicon is being displayed in the browser tabs)

image

Removing the CNAME file, the app correctly loads from https://opencdms.github.io/opencdms-app again.

image

The fix for this issue should include adding the CNAME file containing demo.opencdms.org and also add a .nojekyll file (if this is still required by GitHub pages to prevent Jekyll running?)

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions