Quantcast
Channel: Ember.JS - Latest topics
Viewing all articles
Browse latest Browse all 4826

Blank Page after deploy to server

$
0
0

@vim wrote:

I have an app which runs fine on localhost:4200.

After ember build --environment=production with this in environment.js

if (environment === 'production') {
    // here you can enable a production-specific feature
    ENV.rootURL = '/';
 }

and copying the contents in /dist over to the web root (/var/www/html) of my nginx server I and trying to call that page all I get is a blank page. When I open devtools I can see that the app loaded, javascript is enabled. I tried the same thing with a bare bone app (only an H1 to check if the index page would come up), same result: blank page. If I overwrite the the content of index.html in web root manually to a simple “hello world” the page is shown, so access from outside etc is all fine.

Can anyone help me with that?

Thanks

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 4826

Trending Articles