I refer to it as static hosting because even when using a 1MB database you’re querying it with JavaScript. Also databases are a new addition to 1MB so I’m at this weird crossroads where I don’t know if it’s static hosting anymore. Thank you!
How does it work in terms of security? If I make my sites' database writeable by authenticated users, doesn't in mean that any authenticated client can send a request to delete all records?
I tried to deploy a Hugo static site to 1mb, and while it rendered fine on localhost, it would display text only on 1mb. Is this feasible, and what could I be doing wrong?
1MB doesn’t support directories at the time of writing.. did your Hugo site make use of directories? Or another thing I can think of is if you’re trying to make a single page site make a 200.html file (it’ll replace index.html and all requests to nonexistent files will go to 200.html)
Thank you for getting back to me! It is definitely caused by directories; I didn't see anything about that in the 1mb documentation (or skimmed and missed it), so I figured I just had settings wrong. Thank you!
Comments (239) 59 threads
Earlier commentsLooks good.
All comments shown.
Couldn't load more comments. Check your connection and try again.