SpringGeminiChat / src /main /resources /application.properties
Phoenix21's picture
Rename src/main/resources/application.properties.txt to src/main/resources/application.properties
2da0f45 verified
raw
history blame
515 Bytes
spring.application.name=p1
# Server Configuration
server.port=8080
# Gemini AI Configuration
gemini.api.key=${GEMINI_API_KEY:}
gemini.api.base-url=https://generativelanguage.googleapis.com/v1beta/models
gemini.api.model=gemini-2.5-flash
gemini.api.timeout=30000
# Logging
logging.level.com.example.p1=DEBUG
logging.level.org.springframework.web=DEBUG
# CORS Configuration
cors.allowed-origins=http://localhost:3000,http://localhost:8080
cors.allowed-methods=GET,POST,PUT,DELETE,OPTIONS
cors.allowed-headers=*
*/