Closed EliotSlevin closed 7 years ago
Turns out I'm a dork - all I needed to do was make a change, any change to the file and it deloyed fine, like it was stuck in the cache or something. Possibly related to the recent outages. Surge doesn't validate your html.
So today I discovered surge won't deploy html which isn't valid XML - as in all tags which are opened are closed. I spent ages trying to figure out why a few pages were empty, just because there was an extra
.Suggestion: Better warnings / documentation of this. An invalid html document will return a completely empty HTML page, together with an ok 200. This page could say "your html is invalid, please check it"
Or possibly even better - don't check the validity, just like localhost.