elm-live: Can not access html

I have structure:

  • index.html
  • data
    • test.html

and if i start elm-live and navigate http://localhost:8000/data/test.html i got content of compiled elm, not html that i expect

About this issue

  • Original URL
  • State: closed
  • Created 6 years ago
  • Comments: 24 (12 by maintainers)

Most upvoted comments

@justgook Just released a new version that fixes this problem! Now the behavior is the following:

  • 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

Okay just pushed update! Try elm-live 3.0.6 and let me know!