문제

I moved my grails site from cloudfoundry v1 to v2 host, all looks perfect until i started to click in my links.

In cloudfoundry v1 i had the url adress http://controlealunos.cloudfoundry.com/ and in v2 i have http://controlealunos.cfapps.io/.

You can see the error happening when you click in login button. It's been redirec to http://controlealunos.cloudfoundry.com/login/auth?login_error=1, but if i access http://controlealunos.cfapps.io/login/auth?login_error=1 it´s there.

Inside the application i'm suffering the same kind of error. Somebody know what's happening ?

도움이 되었습니까?

해결책

Did you update your grails.serverURL to the http://controlealunos.cfapps.io/

environments {
  development {
          ...
  }
  //assuming you're deploying a prod build
  production {
    grails.serverURL = "http://controlealunos.cfapps.io/"
  }
}
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top