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

Documentation issue: 'gotcha' for new users, staticExtensions in config file must be an array

Open akira-kurogane opened this issue 4 months ago • 0 comments

If a user writes into the config file the obvious equivalent of --static.extensions html that will be:

  {
    staticExtensions: 'html'
  }

But this will silently fail.

At least for now the syntax must be:

  {
    staticExtensions: [ 'html' ]
  }

akira-kurogane avatar Oct 10 '24 03:10 akira-kurogane