From 9a46ea17cb48f9e4aa8ea3ad6172927208c39c0a Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Fri, 29 Mar 2019 14:06:48 +0300 Subject: adding settings for default profile, using -production profile in production --- .gitignore | 2 +- src/main/resources/application.properties | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 src/main/resources/application.properties 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 -- cgit v1.2.3