PoonLab / covizu

Rapid analysis and visualization of coronavirus genome variation
https://filogeneti.ca/CoVizu/
MIT License
45 stars 20 forks source link

Page load failure #511

Closed ArtPoon closed 6 months ago

ArtPoon commented 6 months ago
Failed to load resource: the server responded with a status of 404 (Not Found)
covizu/:1 Refused to execute script from 'https://filogeneti.ca/covizu/js/gisaid/gisaid.js?random=1' 
          because its MIME type ('text/html') is not executable, and strict MIME type checking is enabled.
covizu.js:246 MUTATION ANNOTATION  Object
covizu.js:200 dbstats =  Object
ArtPoon commented 6 months ago

This file js/gisaid/gisaid.js appears to be absent from the Docker instance, even though the file is present on the server itself (at /var/www/html/covizu), leading to 404 errors

ArtPoon commented 6 months ago

Add an endpoint to notify us if website is not up.

GopiGugan commented 6 months ago

The issue was that the COPY instruction in the Dockerfile was not copying subdirectories. After updating the Dockerfile and rebuilding the docker image, the issue was resolved