43.2 Override Spring default white label error - Way 2 - Tomcat Server Page (#3)
This commit is contained in:
@ -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:
|
||||||
|
|||||||
Reference in New Issue
Block a user