THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
Weblog.getURL() calls Weblog.getAbsoluteURL()
If we are going to use subdomain URLs, we'll need to always use absolute URLs when referring to Weblogs (at the very least we need to change some assumptions)
Code Block |
---|
public String getURL() {
return getAbsoluteURL();
}
|
Changes to URLModel
URLModel.getAbsoluteSite() uses URLStrategy
Code Block |
---|
/** Absolute URL of Roller, e.g. http://localhost:8080/roller */ public String getAbsoluteSite() { // return WebloggerRuntimeConfig.getAbsoluteContextURL(); URLStrategy urlStrategy = WebloggerFactory.getWeblogger().getUrlStrategy(); return urlStrategy.getWeblogURL(weblog, null, true); } |
Configuration
Server Administrator
...