stefanogualdi / grails-ckeditor

Grails CKEditor plugin
http://grails.org/plugin/ckeditor
Apache License 2.0
23 stars 32 forks source link

static resources folder not access #39

Open pangeaos opened 6 years ago

pangeaos commented 6 years ago

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 commented 6 years ago

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 commented 6 years ago

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