aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2019-03-29 14:06:48 +0300
committerGravatar Vitaly Takmazov2019-03-29 14:09:46 +0300
commit9a46ea17cb48f9e4aa8ea3ad6172927208c39c0a (patch)
treed8b6151ae5794f17cd20c497994ade86e0c0ca2a
parentce618d557d65e15eaacc5b09f114ce7b9ccdbd81 (diff)
adding settings for default profile, using -production profile in production
-rw-r--r--.gitignore2
-rw-r--r--src/main/resources/application.properties2
2 files changed, 3 insertions, 1 deletions
diff --git a/.gitignore b/.gitignore
index 8b7c458d..9bc425f5 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,6 +1,6 @@
.idea/*
*.iml
-**/application.properties
+**/application-production.properties
**/logback.xml
**/npm-*.log
**/logging.properties
diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties
new file mode 100644
index 00000000..e13d4760
--- /dev/null
+++ b/src/main/resources/application.properties
@@ -0,0 +1,2 @@
+spring.jackson.default-property-inclusion=non_default
+spring.jackson.serialization.write-dates-as-timestamps=false \ No newline at end of file