metrics-mvp icon indicating copy to clipboard operation
metrics-mvp copied to clipboard

OpenTransit page not loading with serverless build

Open hathix opened this issue 5 years ago • 5 comments

Are there any config changes we have to make?

Screen Shot 2020-06-11 at 8 29 34 AM

hathix avatar Jun 11 '20 12:06 hathix

Seems like there's a MIMEtype issue as well.

hathix avatar Jun 11 '20 12:06 hathix

image

hathix avatar Jun 17 '20 21:06 hathix

Arun, any idea?

hathix avatar Jun 17 '20 21:06 hathix

Arun, any idea?

It might be related to changing the cname, the build works fine locally. I suspect as soon as @EddyIonescu makes the S3 bucket publicly viewable, we can just switch over the host and close out the GCP frontend. Hence, I'm leaning towards not resolving this.

akgupta89 avatar Jun 18 '20 01:06 akgupta89

Looking into the bug at https://eddy-opentransit.herokuapp.com/, I think the problem is that all files are served as text/html when they should have different MIME types. Did you do any configuration of MIME types, Arun?

hathix avatar Jul 09 '20 01:07 hathix