Skip to content

Commit 073e71d

Browse files
committed
Disable Spring Boot's resources mappings (in favour of our own).
1 parent c483a26 commit 073e71d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/main/resources/application.properties

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ spring.main.show-banner: false
66

77
spring.jmx.enabled: false
88

9+
# In favour of our own mappings, see ru.mystamps.web.config.MvcConfig.addResourceHandlers()
10+
spring.resources.add-mappings: false
11+
912
# See for details: http://docs.spring.io/autorepo/docs/spring-boot/current/api/org/springframework/boot/autoconfigure/web/MultipartProperties.html
1013
multipart.location: /tmp
1114
multipart.max-request-size: 10Mb

0 commit comments

Comments
 (0)