application-prod.yaml 501 B

123456789101112131415161718192021
  1. server:
  2. port: 8300 # 端口
  3. hm:
  4. jwt:
  5. location: classpath:hmall.jks # 秘钥地址
  6. alias: hmall # 秘钥别名
  7. password: hmall123 # 秘钥文件密码
  8. tokenTTL: 30m # 登录有效期
  9. auth:
  10. excludePaths: # 无需登录校验的路径
  11. - /search/**
  12. - /users/login
  13. - /items/**
  14. spring:
  15. graphql:
  16. cors:
  17. allowed-origins: "*"
  18. allowed-methods: "GET,POST,PUT,DELETE,OPTIONS"
  19. allowed-headers: "*"
  20. allow-credentials: true
  21. max-age: 3600