Skip to content

How can I get S3 to use correct MIME types for static content? #73

Closed
@mikemaccana

Description

@mikemaccana

This is probably a documentation issue. As in, I don't understand how to do something and the current static docs don't tell me.

Quick question

Minor note: the docs don't cover this, but since S3 doesn't have 'real' folders (and looking at the other arc-examples), I guess /static should be flat and not have folders (folders do work on sandbox though, which is why I'm confused). Is that correct?

Issue

Source code: https://github.com/arc-repos/arc-example-notes, using arc 4.5.6

On sandbox:

image

On staging:

image

CORB error:

image

Edit: Note this is CORB not CORS.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions