Enable base url discovery.

This commit is contained in:
Paulo Gustavo Veiga 2022-03-29 22:41:21 -03:00
parent 6f19323292
commit 8248e162fe
2 changed files with 2 additions and 2 deletions

View File

@ -48,7 +48,7 @@ public class RequestPropertiesInterceptor implements HandlerInterceptor {
@Value("${site.homepage}") @Value("${site.homepage}")
private String siteHomepage; private String siteHomepage;
@Value("${site.baseurl:http://localhost:8080}") @Value("${site.baseurl}")
private String siteUrl; private String siteUrl;
@Value("${security.type}") @Value("${security.type}")

View File

@ -89,7 +89,7 @@ google.recaptcha2.secretKey = 6LeIxAcTAAAAAGG-vFI1TnRWxMZNFuojJ4WifJWe
admin.user = admin@wisemapping.org admin.user = admin@wisemapping.org
# Base URL where WiseMapping is deployed. By default, It will be automatically inferred. # Base URL where WiseMapping is deployed. By default, It will be automatically inferred.
site.baseurl = http://localhost:8080 #site.baseurl = http://localhost:8080
# Site Homepage URL. This will be used as URL for homepage location. # Site Homepage URL. This will be used as URL for homepage location.
site.homepage = c/login site.homepage = c/login