From a8e2c74a21a10392ec224cbbce2c61d41e955463 Mon Sep 17 00:00:00 2001 From: Paulo Gustavo Veiga Date: Mon, 28 Feb 2022 14:51:25 -0800 Subject: [PATCH] Remove homepage --- .../webmvc/PublicPagesController.java | 31 ------------------- .../src/main/webapp/WEB-INF/app.properties | 2 +- .../webapp/WEB-INF/wisemapping-security.xml | 4 +-- 3 files changed, 2 insertions(+), 35 deletions(-) delete mode 100644 wise-webapp/src/main/java/com/wisemapping/webmvc/PublicPagesController.java diff --git a/wise-webapp/src/main/java/com/wisemapping/webmvc/PublicPagesController.java b/wise-webapp/src/main/java/com/wisemapping/webmvc/PublicPagesController.java deleted file mode 100644 index f65cb811..00000000 --- a/wise-webapp/src/main/java/com/wisemapping/webmvc/PublicPagesController.java +++ /dev/null @@ -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"; - } -} diff --git a/wise-webapp/src/main/webapp/WEB-INF/app.properties b/wise-webapp/src/main/webapp/WEB-INF/app.properties index bee03463..846700d5 100755 --- a/wise-webapp/src/main/webapp/WEB-INF/app.properties +++ b/wise-webapp/src/main/webapp/WEB-INF/app.properties @@ -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 diff --git a/wise-webapp/src/main/webapp/WEB-INF/wisemapping-security.xml b/wise-webapp/src/main/webapp/WEB-INF/wisemapping-security.xml index abdb55e5..5f23acc0 100644 --- a/wise-webapp/src/main/webapp/WEB-INF/wisemapping-security.xml +++ b/wise-webapp/src/main/webapp/WEB-INF/wisemapping-security.xml @@ -18,9 +18,7 @@ - - - +