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:
|
||||
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:
|
||||
|
||||
Reference in New Issue
Block a user