We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 07e83cf commit 21d9965Copy full SHA for 21d9965
grails-web/src/main/groovy/org/codehaus/groovy/grails/web/mapping/CachingLinkGenerator.java
@@ -149,7 +149,7 @@ public String resource(Map attrs) {
149
protected String makeKey(String prefix, Map attrs) {
150
StringBuilder sb=new StringBuilder();
151
sb.append(prefix);
152
- if(isAbsolute(attrs)) {
+ if(getConfiguredServerBaseURL()==null && isAbsolute(attrs)) {
153
GrailsWebRequest webRequest = GrailsWebRequest.lookup();
154
if(webRequest != null) {
155
sb.append(webRequest.getBaseUrl());
0 commit comments