Skip to content

Commit d3b99d0

Browse files
committed
delete sensitive datas from application.properties
1 parent b4bf615 commit d3b99d0

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

backend/src/main/resources/application.properties

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ spring.application.name=solar-watch
22

33
# Database Configuration
44
spring.datasource.url=jdbc:postgresql://${DB_HOST:postgres}:5432/solarwatch
5-
spring.datasource.username=${DB_USER:postgres}
6-
spring.datasource.password=${DB_PASSWORD:Pds56ghj}
5+
spring.datasource.username=${DB_USER}
6+
spring.datasource.password=${DB_PASSWORD}
77
spring.jpa.hibernate.ddl-auto=update
88
spring.jpa.show-sql=true
99
spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.PostgreSQLDialect
@@ -12,7 +12,7 @@ spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.PostgreSQLDialect
1212
geo.api.key=${GEO_API_KEY:}
1313

1414
# JWT Configuration
15-
jwt.secret=${JWT_SECRET:your-256-bit-secret-key-make-this-very-secure}
15+
jwt.secret=${JWT_SECRET}
1616
jwt.expiration=86400000
1717

1818
# Security Configuration

0 commit comments

Comments
 (0)