43.2 Override Spring default white label error - Way 2 - Tomcat Server Page (#3)

This commit is contained in:
Art
2021-09-06 21:48:36 +03:00
parent 0a901fd4ed
commit 78bc67f38f

View File

@ -1,3 +1,8 @@
server:
error:
whitelabel:
enabled: false
spring: spring:
datasource: datasource:
driver-class-name: com.mysql.cj.jdbc.Driver driver-class-name: com.mysql.cj.jdbc.Driver
@ -10,11 +15,11 @@ spring:
properties: properties:
hibernate: hibernate:
dialect: org.hibernate.dialect.MySQL8Dialect dialect: org.hibernate.dialect.MySQL8Dialect
mvc: # mvc:
throw-exception-if-no-handler-found: true # throw-exception-if-no-handler-found: true
web: # web:
resources: # resources:
add-mappings: false # add-mappings: false
app: app:
public-urls: /user/login,/user/register,/user/image/** public-urls: /user/login,/user/register,/user/image/**
jwt: jwt: