SolidStart Hosting a Static Site
Hello! Was wondering how I might be able to go about hosting a static site in SolidStart. My main purpose is to use auth.js inside my SolidStart app to host built documentation. Does anyone know of any ways to do this? And/or if this is even a good idea?
3 Replies
try solidbase. here is the link : https://solidbase.dev
@hannus Thank you for the response, but I don't think I was explicit enough, I already have a prebuilt statically generated site (in html), that I want to host inside SolidStart.
Not that I want SolidStart to be statically generated.
There is nothing stopping you from returning HTML in an API route
you could also throw the static files in public, although, depending on how you deploy it, requests without the
.html
might not be handled correctly