43.1 Override Spring default white label error - Way 1 - Throw Exception (#3)

This commit is contained in:
Art
2021-09-06 21:42:47 +03:00
parent cc3b56e448
commit 0a901fd4ed
2 changed files with 12 additions and 2 deletions

View File

@ -10,6 +10,11 @@ spring:
properties:
hibernate:
dialect: org.hibernate.dialect.MySQL8Dialect
mvc:
throw-exception-if-no-handler-found: true
web:
resources:
add-mappings: false
app:
public-urls: /user/login,/user/register,/user/image/**
jwt: