grails-ckeditor icon indicating copy to clipboard operation
grails-ckeditor copied to clipboard

static resources folder not access

Open pangeaos opened this issue 7 years ago • 2 comments

I'm having problems to get access to the resources folder. I'm getting 404 not found error. example: https://localhost:8443/static/sitemap.xml

src/main/webapp src/main/resources

any idea?

pangeaos avatar Nov 29 '17 15:11 pangeaos

this plugin is overwriting the dedault config:

grails.resources.pattern = '/static/**'
grails.resources.uri.prefix = ''

https://github.com/grails/grails-core/releases/tag/v3.0.12

I think It should not overwrite the default config since we already have other configuration using that behavior.

pangeaos avatar Nov 29 '17 20:11 pangeaos

The solution is just to write default config in application.config file. grails.resources.pattern = '/static/**' grails.resources.uri.prefix = ''

pangeaos avatar Nov 29 '17 21:11 pangeaos