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

Remove redirect #1414

Merged
merged 1 commit into from
Jan 30, 2023
Merged

Remove redirect #1414

merged 1 commit into from
Jan 30, 2023

Conversation

casey
Copy link
Collaborator

@casey casey commented Jan 29, 2023

So I can stick ordinals.com behind cloudflare.

src/media.rs Outdated
@@ -51,6 +51,7 @@ impl FromStr for Media {

const TABLE: &[(&str, Media, &[&str])] = &[
("application/pdf", Media::Pdf, &["pdf"]),
("application/pgp-signature", Media::Text, &[]),
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
("application/pgp-signature", Media::Text, &[]),
("application/pgp-signature", Media::Text, &["pgp"]),

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This will fix the CI test that failed. While I've also seen .gpg used, it's usually for encrypted files.

@casey casey enabled auto-merge (squash) January 30, 2023 18:23
@casey casey merged commit a7fbc27 into master Jan 30, 2023
@casey casey deleted the remove-redirect branch January 30, 2023 18:26
casey added a commit that referenced this pull request Jan 30, 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

Successfully merging this pull request may close these issues.

None yet

2 participants