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

Set symbol and watermark are saved with the full URL even when using local resources #47

Open
mbrozzo opened this issue Oct 19, 2024 · 0 comments

Comments

@mbrozzo
Copy link

mbrozzo commented Oct 19, 2024

From a card's JSON:

  "setSymbolSource": "http://localhost:4242/img/setSymbols/custom/a22-m.png",

I noticed it as cards created on cardconjurer.onrender.com would not load correctly on the local version, as the set symbol and watermark contained "https://cardconjurer.onrender.com/" at the start.

I tested by changing the JSON to this:

  "setSymbolSource": "/img/setSymbols/custom/a22-m.png",

and the card loaded correctly, so I think it would make sense not to save the full URL, but just the path.

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