local-web-server icon indicating copy to clipboard operation
local-web-server copied to clipboard

A lean, modular web server for rapid full-stack development.

Results 9 local-web-server issues
Sort by recently updated
recently updated
newest added

When I run ws I get the following error: ``` Listening on http://.local:8000, http://127.0.0.1:8000, http://10.0.20.102:8000 09:08:31: Middleware error SyntaxError: invalid JSON, only supports object and array at parse (/Users/binici/.nvm/versions/node/v16.15.0/lib/node_modules/local-web-server/node_modules/co-body/lib/json.js:55:13) at...

Hello and thank you for this wonderful product! I'm facing a problem, that i need to override at least the `--directory` from a command line even if this is already...

bug

I'm using `local-web-server` to serve a SSG-built Next.js site. Everything's working well except for when I try to access a page that's not found. I'd like to serve the Next.js-generated...

enhancement

When proxying a websocket with `--rewrite '/ws/(.*) --> https://someserver.com/ws/$1'` local-web-server somehow mangles the response.

enhancement
help wanted

# Middleware error ## PayloadTooLargeError: request entity too large at readStream ### The transferred entity is 42Mb, so how could I increase amount of transferred data via **lws** config? Error...

enhancement
help wanted

Currently the preflight request is [served](https://github.com/koajs/cors/blob/master/index.js#L98) with correct CORS headers for given origin, but the proxied request response is passed without them. Would it be possible to use the CORS...

enhancement
help wanted

There are several scenarios one need to pass more server options to underlying server factory: Scenario 1: PFX certificates may be encrypted with password, so tls option `passphrase` should be...

enhancement

Something more useful than `node`. [Backstory](https://github.com/lwsjs/local-web-server/discussions/181).

If a user writes into the config file the obvious equivalent of `--static.extensions html` that will be: ```js { staticExtensions: 'html' } ``` But this will silently fail. At least...