@@ -8,34 +8,35 @@ spring.threads.virtual.enabled=true
88spring.main.allow-bean-definition-overriding =true
99# spring.devtools.add-properties=false
1010
11- # GraphQL configuration
12- # GraphQL API endpoint: /api
1311spring.graphql.path =/api
14- # GraphiQL UI endpoint: /graphiql
12+
1513spring.graphql.graphiql.enabled =true
1614spring.graphql.graphiql.path =/graphiql
1715
18- # In VSCode, I recommend: "terminal.integrated.scrollback": 100000000
19- # logging.level.org.hibernate=DEBUG
20- # logging.level.org.hibernate.type.descriptor.sql.BasicBinder=TRACE
21- # logging.level.web=debug
22-
23- # spring.jpa.show-sql=true
24- # spring.jpa.properties.hibernate.format_sql=true
25-
2616spring.flyway.enabled =true
2717spring.flyway.locations =classpath:db/migration
2818spring.flyway.baselineOnMigrate =true
2919
3020# ===== CORS & Cookie Security =====
3121# Com credenciais, o origin deve ser exato (não "*"). Separe por vírgula para múltiplos.
3222spring.mvc.cors.allowed-origins =${ALLOWED_ORIGINS:http://localhost:3000}
23+
3324# Nome e path do cookie de autenticação
3425security.jwt.cookie-name =EG_AUTH
3526security.jwt.cookie-path =/
27+
3628# Defina domain se precisar compartilhar subdomínios (ex: .seusite.com)
3729# security.jwt.cookie-domain=
30+
3831# SameSite quando a requisição for same-site: Lax (padrão) ou Strict
3932security.jwt.same-site-when-same-site =${SAMESITE_WHEN_SAME_SITE:Lax}
33+
4034# Validade do token/cookie (ms)
4135security.jwt.expiration-ms =${JWT_EXPIRATION_MS:604800000}
36+
37+ # ! In VSCode, I recommend: "terminal.integrated.scrollback": 100000000
38+ # logging.level.org.hibernate=DEBUG
39+ # logging.level.org.hibernate.type.descriptor.sql.BasicBinder=TRACE
40+ # logging.level.web=debug
41+ # spring.jpa.show-sql=true
42+ # spring.jpa.properties.hibernate.format_sql=true
0 commit comments