Skip to content

app doesn't load properly #84

@codeforkjeff

Description

@codeforkjeff

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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions