-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
I followed the instructions in the README and got foreman running the app. However, trying to load http://localhost:5000/ results in a blank page. When I open the console, and inspect the requests being made, I see that the content returned for http://localhost:5000/js/ember-app.js isn't the javascript file, but the index page HTML, since that URL is being matched to the "get '/*'" route. I can see Firefox choking on it when trying to interpret it as javascript and giving the error "SyntaxError: expected expression, got '<'1 ember-app.js:1:0"
Am I missing a step to get Sinatra to serve /js/ember-app.js properly, or is there an issue in the code?
Metadata
Metadata
Assignees
Labels
No labels