More Than Five
More Than Five

Reputation: 10419

Change the context for your Application

I have a Grails Application: MyApplication

This means the URLS all have MyApplication in them, when I do grails run-app. I would like to change this to myapplication or better still myapp

Is this possible?

Upvotes: 0

Views: 139

Answers (2)

thewidgetsmith
thewidgetsmith

Reputation: 194

You can also change the value of app.name in the application.properties file.

Upvotes: 2

dmahapatro
dmahapatro

Reputation: 50245

You would need an entry in Config.groovy regarding app context root as:

grails.app.context = '/myapp'

Upvotes: 3

Related Questions