Closed Felicious closed 3 years ago
First, Derrick instructed me to open Dev tools (Ctrl + Shift + C), then reload the page.
Then, he told me to find the style.css file among the files that shows up. I see it under "Status 200"
He told me to click on it and switch to the networks tab and look at it under "Header"
He concluded that the it was successful in requesting the css file from github, so the error is not caused by the connection or CORS (What is cors?)
He then told me to open up the console tab.
He then concluded that issue is with something related to CORS but newer; it's some security stuff to prevent malicious stuff, which is fetching stuff from a different domain.
An exerpt from those links:
How does CORB “block” a response?
When CORB decides that a response needs to be CORB-protected, the response is modified as follows:
The response body is replaced with an empty body. The response headers are removed.
this is why the header was blank.
Bug: When evaluating the Index.html file on Google Apps Script, the css styling isn't applied.
https://github.com/Felicious/Taiwan-Numba-ONE/blob/bf4dd0f3a0c66ff6361ce908f6fb5feb297f400d/html/Index.html#L9
The loaded page has 0 css at all-- is the github link wrong again?