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

fix(updateFileMimeType): overwrite mimetype #664

Merged
merged 1 commit into from
Oct 23, 2024
Merged

Conversation

floryst
Copy link
Collaborator

@floryst floryst commented Oct 15, 2024

Closes #663, and maybe #655.

Overwrites/normalizes the default OS-provided mimetype. Also ensures that the mime type is a supported mime type.

@PaulHax I think this should be fine, since if it's an unsupported mime type, setting to "null" won't change any logic.

Should also be applied here: https://github.com/Kitware/VolView/pull/635/files#diff-7d267f00b6c6e1caa0952df237d876fce197c2048228c5f5bda7dd583232a40eR10

@floryst floryst requested a review from PaulHax October 15, 2024 18:48
Copy link

netlify bot commented Oct 15, 2024

Deploy Preview for volview-dev ready!

Name Link
🔨 Latest commit 2e8c887
🔍 Latest deploy log https://app.netlify.com/sites/volview-dev/deploys/670eb905d54a5400096e7c2a
😎 Deploy Preview https://deploy-preview-664--volview-dev.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link
Collaborator

@PaulHax PaulHax left a comment

Choose a reason for hiding this comment

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

I can't think of anything this would break.

@PaulHax PaulHax linked an issue Oct 15, 2024 that may be closed by this pull request
@floryst floryst added this pull request to the merge queue Oct 23, 2024
Merged via the queue into main with commit b649c65 Oct 23, 2024
7 checks passed
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.

*.gz file extension failed to resolve to correct mime type Unsupported data type error
2 participants