Remove homepage

This commit is contained in:
Paulo Gustavo Veiga 2022-02-28 14:51:25 -08:00
parent 8d5245da5a
commit a8e2c74a21
3 changed files with 2 additions and 35 deletions

View File

@ -1,31 +0,0 @@
/*
* Copyright [2015] [wisemapping]
*
* Licensed under WiseMapping Public License, Version 1.0 (the "License").
* It is basically the Apache License, Version 2.0 (the "License") plus the
* "powered by wisemapping" text requirement on every single page;
* you may not use this file except in compliance with the License.
* You may obtain a copy of the license at
*
* http://www.wisemapping.org/license
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.wisemapping.webmvc;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
@Controller
public class PublicPagesController {
@RequestMapping(value = "home")
public String home() {
return "homepage";
}
}

View File

@ -94,7 +94,7 @@ admin.user = admin@wisemapping.org
# Site Homepage URL. This will be used as URL for homepage location.
site.homepage = c/home
site.homepage = c/login
# Font end static content can be deployed externally to the web app. Uncomment here and specify the url base location.
site.static.js.url = /static

View File

@ -18,9 +18,7 @@
<sec:http pattern="/css/**" security="none"/>
<sec:http pattern="/js/**" security="none"/>
<sec:http pattern="/images/**" security="none"/>
<sec:http pattern="/c/home" security="none"/>
<sec:http pattern="/c/maps/*/embed" security="none"/>
<sec:http pattern="/c/maps/*/try" security="none"/>
<sec:http pattern="/c/maps/*/public" security="none"/>