Browse Source

Do not expose management end points in production environment

Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
v0.0.4-alpha
Pekka Helenius 4 years ago
parent
commit
0c9a4239d2
1 changed files with 5 additions and 1 deletions
  1. +5
    -1
      bookstore/src/main/resources/application-prod.properties

+ 5
- 1
bookstore/src/main/resources/application-prod.properties View File

@ -12,4 +12,8 @@ security.book.count.max = 5
# Enable sample data in production environment? # Enable sample data in production environment?
# This is the same dataset than used in dev profile # This is the same dataset than used in dev profile
# #
db.sample.data.enabled = true
db.sample.data.enabled = true
# Do not expose statistics end points
#
management.endpoints.enabled-by-default = false

Loading…
Cancel
Save