From 78bc67f38f3ff6b306ae17ce8c0a30e51d20bbc0 Mon Sep 17 00:00:00 2001 From: Art Date: Mon, 6 Sep 2021 21:48:36 +0300 Subject: [PATCH] 43.2 Override Spring default white label error - Way 2 - Tomcat Server Page (#3) --- .../src/main/resources/application.yml | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/support-portal-backend/src/main/resources/application.yml b/support-portal-backend/src/main/resources/application.yml index d7775b6..037bc2e 100644 --- a/support-portal-backend/src/main/resources/application.yml +++ b/support-portal-backend/src/main/resources/application.yml @@ -1,3 +1,8 @@ +server: + error: + whitelabel: + enabled: false + spring: datasource: driver-class-name: com.mysql.cj.jdbc.Driver @@ -10,11 +15,11 @@ spring: properties: hibernate: dialect: org.hibernate.dialect.MySQL8Dialect - mvc: - throw-exception-if-no-handler-found: true - web: - resources: - add-mappings: false +# mvc: +# throw-exception-if-no-handler-found: true +# web: +# resources: +# add-mappings: false app: public-urls: /user/login,/user/register,/user/image/** jwt: