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

Enable Flask-CORS by default and update Cantaloupe default #42

Merged
merged 4 commits into from
Nov 2, 2023

Conversation

digitaldogsbody
Copy link
Collaborator

Fixes the issues with redirects of v2 images.

The v2 code is still pointing at the old archivelabs service for images, and we should probably change that at some point, but it's a separate issue.

Closes #24

@digitaldogsbody
Copy link
Collaborator Author

The test is failing because the example item now has is_dark set in the metadata (https://archive.org/metadata/z-2-2-18-14-9) so I will switch it out for something else!

@digitaldogsbody
Copy link
Collaborator Author

Test updated to use the same Text item as the v3 test.

On the v2 service / archivelabs front, I see Josh has already opened a ticket here: #26

@digitaldogsbody
Copy link
Collaborator Author

I've also added a little bit of code to log errors in v2 manifests, the same as we currently have for v3. This should help a little with debugging any other issues.

I've left it returning a 404 instead of a 500 afterwards, as this is the current behaviour and I didn't want to break that.

@hadro hadro merged commit 6e04d44 into main Nov 2, 2023
2 of 3 checks passed
@cdrini cdrini deleted the enable_cors branch November 18, 2024 17:33
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

Successfully merging this pull request may close these issues.

Issue with redirect for v2 images
3 participants