Closed lkuiucsb closed 2 years ago
It works fine. Someone copied over a file that did not contain the API key. Possibly, someone changed a group of pages in bulk, instead of just a few.
This is a snippet of the page that should not have been copied over (research/sampling_sites/index.html):
Pointers:
if you do a bulk copy, be sure that every page works on your localhost before you copy. Alternatively, since you will have already checked the pages you changed on localhost, only copy those.
The API key must NEVER go into git. So you must read the instructions in the _config.yml
file.
@lkuiucsb: The message from the page was look at the javascript console
. There was no error in the javascript, but the console said the API key was wrong. Li, you should get the web developer add-on. It includes a javascript console, and the problem was quite obvious when I opened it up.
map: https://sbclter.msi.ucsb.edu/research/sampling_sites/
The warning message said something wrong with the JavaScript