Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add custom config property(optional) for resolving relative links #14

Open
bavicj opened this issue Nov 5, 2013 · 0 comments
Open

Add custom config property(optional) for resolving relative links #14

bavicj opened this issue Nov 5, 2013 · 0 comments

Comments

@bavicj
Copy link

bavicj commented Nov 5, 2013

The plugin uses grails.serverURL to handle relative links. Can you add support for some custom config property which can override this behaviour?It would be useful when you want to easily specify different url base for resources.

For example, I have an application using SSL, so my grails.serverURL = 'https://....'.
When rendering engine want to resolve css and images, application also makes https request, but it does not have proper certificate (it's not the browser).
If I could specify some other config variable to 'http:localhost:8080' for example, than the application would not have to go via apache, and the resources will be fetched without any problems.

Thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant