私はこれに私のconfig.groovyでいくつかの行を変更:config.groovyでgrails.serverURLを使用するにはどうすればよいですか?
// set per-environment serverURL stem for creating absolute links
environments {
production {
grails.serverURL = "http://www.changeme.com"
}
development {
grails.serverURL = "http://localhost:8099/${appName}"
}
test {
grails.serverURL = "http://localhost:8080/${appName}"
}
}
しかし、私はrun-app
を行うときに、それはまだ私に
Server running. Browse to http://localhost:8080/myProject
を与える私はconfig.groovyを使用するように指示する必要がありますどこかにあります?なぜそれは8099に行きませんか?