Skip to content

Commit 24cca96

Browse files
chore(swagger): automate swagger sync to amrit-docs
1 parent 8bec783 commit 24cca96

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/main/resources/application-swagger.properties

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ spring.jpa.database-platform=org.hibernate.dialect.H2Dialect
44
spring.jpa.hibernate.ddl-auto=create-drop
55

66
# Disable Redis if not needed for docs (optional)
7-
spring.data.redis.host=localhost
8-
spring.data.redis.port=6379
7+
spring.data.redis.host=${REDIS_HOST:localhost}
8+
spring.data.redis.port=${REDIS_PORT:6379}
99

1010
# CORS for Swagger UI
1111
cors.allowed-origins=${CORS_ALLOWED_ORIGINS:http://localhost:9090,http://localhost:8080}

0 commit comments

Comments
 (0)