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

Cannot GET /assets/img/%7Boption-theme-preview%7D #1

Open
rule13 opened this issue Mar 7, 2023 · 1 comment
Open

Cannot GET /assets/img/%7Boption-theme-preview%7D #1

rule13 opened this issue Mar 7, 2023 · 1 comment

Comments

@rule13
Copy link

rule13 commented Mar 7, 2023

There's an error in the code looking for {option-theme-preview}. I believe the following part of the code is throwing the error:

src="assets/img/{option-theme-preview}" alt="Theme preview"

Any ideas on how to fix this? The same error is happening on the demo version hosted on your site... just look at the console.

https://codyhouse.co/ds/components/app/light-dark-switch

@claudia-romano
Copy link
Contributor

Hi there, thanks for the heads-up. The page tries to load the file assets/img/{option-theme-preview} and throws an error since it is not found. If you create an empty file named {option-theme-preview}, that should fix the issue.

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

2 participants