Friday 14 April 2017

Configure angular-fullstack app for local network access

I just made my first angular app with Yeoman angular-fullstack generator. And I want to other people can access to my app using local network by my IP.

  1. access via localhost works great for me
  2. access via local IP get error "Uncaught SyntaxError: Unexpected token <" in vendor.bundle.js, app.bundle.js and polyfills.bundle.js

When i click on error in browser console I get index.html which in client directory of my app instead any compiled js

Server listen on 3000 port. I can provide additional information if needed. Any suggestion how to fix it?



via Andrew Safonov

No comments:

Post a Comment