Open paulyiu opened 7 years ago
where is the CORS issue? these are two separate apps that do not having to do with each other - meaning console and it orders app...
updated location of the server via configuration.js file here https://github.com/mswiderski/itorders-app/blob/master/itorders-web/src/main/webapp/scripts/configuration.js#L10
I update the kieserver_url to: http://localhost:8080/kie-server/services/rest/server
same error because itorder-app host on localhost:8081
I can make it work if I zip the webapps into .war and deploy to localhost:8080
you need to change the port number since you run it on another port with wildly swarm so it must match the port in the configuration.js file
my jbpm-console run under localhost:8080 if I run itorders-app with below command I got Address already in use: java -Dorg.kie.server.location=http://localhost:8080/rest/server -jar target/itorders-web-1.0.0-swarm.jar
If I add -Dswarm.http.port=8081 then I got CORS issue when login