user
04/05/2025, 10:22 AMGetting Started > Optional: Set a Context Path and what does the application will be available at: and nothing after that means? https://docs.grails.org/7.0.0-M3/guide/single.html#introduction
If you want to set a context path for your application, create a configuration property in the "grails-app/conf/application.yml" file:
server:
servlet:
context-path: /myapp
With this configuration, the application will be available at:
Alternatively, you can also set the context path via the command line:
grails> run-app -Dgrails.server.servlet.context-path=/helloworldJames Fredley
04/05/2025, 3:40 PMuser
04/07/2025, 7:59 AM