servor
servor copied to clipboard
Dependency free file server for single page app development
I am using servor for SPA app development, and would like to proxy my /api requests to my node api backend. Does servor support proxying requests?
Currently many [file types like `'js', 'css', 'html', 'json', 'xml', 'svg'`](https://github.com/lukejacksonn/servor/blob/master/servor.js#L85) get automatically encoded as gzip and the Header `content-encoding` will be set to `gzip`. In my project I use...
error occurred and server is killed. ``` /usr/local/lib/node_modules/http-server-spa/server.js:76 const resource = path.join(cwd, root, decodeURI(uri)); ^ URIError: URI malformed at decodeURI () at Server. (/usr/local/lib/node_modules/http-server-spa/server.js:76:43) at Server.emit (node:events:513:28) at parserOnIncoming (node:_http_server:1091:12)...
https://stackoverflow.com/questions/64597721/neterr-cert-validity-too-long-the-server-certificate-has-a-validity-period-t
Hi, we're gzipping files locally to reduce deployment size for some projects. However, I can't figure out how to test such a build with servor – it just ends up...