Grails - using localhost subdomain in run-app

Is there a way to configure the built-in tomcat (from run-app) to respond to myapp.localhost: 8080 instead of localhost: 8080 / myapp?

+3
source share
1 answer

modify the local hosts file so that myapp.localhost points to localhost

127.0.0.1         myapp.localhost

change conf/Config.groovyand addgrails.app.context = "/"

+3
source

Source: https://habr.com/ru/post/1763590/


All Articles