Static files can`t be found if finatra server starts at Windows #130
Comments
No longer pertinent in Finatra v2.x. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Error is here: https://github.com/twitter/finatra/blob/master/src/main/scala/com/twitter/finatra/FileService.scala#L105
if finatra starts at Windows then 'path' value contains backslashes() as a separator. But it must contains slashes(/) for correct resource loading here: https://github.com/twitter/finatra/blob/master/src/main/scala/com/twitter/finatra/FileService.scala#L42
The text was updated successfully, but these errors were encountered: