vitaliis/ScalaJS-Mill-WebApp

Page does not render as HTML

Closed this issue · 1 comments

I've tried this with a few different browsers and versions of dependencies, but the result is always the same:

image

I'm not very familiar with Cask, and assume it is related to a header issue there. But, I suppose it could be a scalatags issue as well.

I found where the problem was. There are actually 2.

  1. .render was not necessary.
  2. And this first problem resulted in "Content-Type: text/plain" header.

Fixed in 81490f4.
Added couple of headers as an example of its usage in cask.