How do you get an angular2 web app to work on an OpenEdge PAS server?

Discussão em 'StackOverflow' iniciado por fdantas, Fevereiro 2, 2017.

  1. fdantas

    fdantas Administrator Moderador

    I have build an angular2 web app and I'm trying to deploy it onto an OpenEdge PAS server. When I load the app onto the server and go to http://localhost:8080:dashboard, after building correctly (opening the file directly works), it loads the top index.html file but I get this error:

    Not allowed to load local resource:
    file:///<path>/dashboard/styles.bundle.css
    Not allowed to load local resource:
    file:///<path>/dashboard/inner.bundle.js
    Not allowed to load local resource:
    file:///<path>/dashboard/vendor.bundle.js
    Not allowed to load local resource:
    file:///<path>/dashboard/main.bundle.js


    Can the server not scope the files correctly?

    Help would be greatly appreciated

    Continue reading...

Compartilhe esta Página