mirror of
https://bitbucket.org/wisemapping/wisemapping-open-source.git
synced 2024-11-22 06:07:57 +01:00
Remove homepage
This commit is contained in:
parent
8d5245da5a
commit
a8e2c74a21
@ -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";
|
|
||||||
}
|
|
||||||
}
|
|
@ -94,7 +94,7 @@ admin.user = admin@wisemapping.org
|
|||||||
|
|
||||||
|
|
||||||
# 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/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.
|
# 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
|
site.static.js.url = /static
|
||||||
|
@ -19,8 +19,6 @@
|
|||||||
<sec:http pattern="/js/**" security="none"/>
|
<sec:http pattern="/js/**" security="none"/>
|
||||||
<sec:http pattern="/images/**" 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/*/embed" security="none"/>
|
||||||
<sec:http pattern="/c/maps/*/try" security="none"/>
|
<sec:http pattern="/c/maps/*/try" security="none"/>
|
||||||
<sec:http pattern="/c/maps/*/public" security="none"/>
|
<sec:http pattern="/c/maps/*/public" security="none"/>
|
||||||
|
Loading…
Reference in New Issue
Block a user