Lattyware/massivedecks

Error loading deck from Many Decks

Scarlet06 opened this issue ยท 6 comments

When I try to upload any deck from Many Decks (https://decks.rereadgames.com/) it just start loading but never end.

image

Selecting the loading deck, it shows that it doesn't exist.

image

I've noticed that the problem is in the link of the given deck which is something like "https://decks.rereadgames.com//decks/1GXEP" with 2 "/" instead of "https://decks.rereadgames.com/decks/1GXEP".

OK, I've fixed this in the live environment, it's just a configuration error with an extra trailing slash on the URL in the config file.

I'll leave this issue open for now as the default value should be changed and we should trim trailing slashes from the URL so this mistake doesn't matter if it happens.

this issue is still present

I'm not sure what caused this to regress, but I've redeployed and things appear to be working again.

The url issue seems to be back for me and a few friends trying to use our custom deck... attempting to use other custom decks results in the same issue

Hrm, this must be an issue with the deployment. My assumption is that somehow the container is ending up without the production configuration mounted, but I have no idea how/why that is happening. Obviously not ideal. I'll take a closer look when I get the chance.

I think this should be permanently resolved now. Please open a new issue if you run into it again.