Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
isedwards opened this issue Jan 10, 2023 · 0 comments
Open

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

isedwards opened this issue Jan 10, 2023 · 0 comments
Assignees

Comments

@isedwards
Copy link
Member

isedwards commented Jan 10, 2023

#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?)

@isedwards isedwards self-assigned this Jan 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant