PoonLab/covizu

Page load failure

Closed this issue · 3 comments

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
  • The gisaid.js script is responsible for communicating with GISAID's API for retrieving sample-specific acknowledgement information (e.g. contributing lab).
  • The second and third items (lines 246 and 200) are leftover console log messages from development and need to be removed.

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

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

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