From 405af1d5980db5707eab993833c7d6bfacd26eb2 Mon Sep 17 00:00:00 2001 From: IhlasulMufti Date: Sat, 26 Oct 2024 23:38:18 +0800 Subject: [PATCH] Change Configuration --- .../{_application.properties => application.properties} | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) rename src/main/resources/{_application.properties => application.properties} (88%) diff --git a/src/main/resources/_application.properties b/src/main/resources/application.properties similarity index 88% rename from src/main/resources/_application.properties rename to src/main/resources/application.properties index d7d7b14c..90fac54d 100644 --- a/src/main/resources/_application.properties +++ b/src/main/resources/application.properties @@ -1,7 +1,7 @@ spring.jpa.hibernate.ddl-auto=none spring.datasource.url=jdbc:mysql://localhost:3306/blogapi?useSSL=false&serverTimezone=UTC&allowPublicKeyRetrieval=true spring.datasource.username=root -spring.datasource.password=root +spring.datasource.password= spring.jpa.show-sql=true spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.MySQL5Dialect app.jwtSecret=secret @@ -10,3 +10,5 @@ app.jwtExpirationInMs=3600000 spring.jackson.serialization.WRITE_DATES_AS_TIMESTAMPS=false spring.jackson.time-zone=UTC cors.allowedOrings=* +# Server Port +server.port = 8081