Skip to content

New behavior in elm-serve pushstate

Compare
Choose a tag to compare
@wking-io wking-io released this 06 Nov 14:55
· 191 commits to master since this release

This is the following behavior change:

  • If the url doesn't have an html extension it defaults to the index and lets elm handle routing
  • If the url has an .html extension it will try and serve the file, but if it returns a 404 then it will serve the index and let elm handle routing

Before, all file path that had a .html extension were served from the index and let elm handle routing