Max Age
The default maximum age that preflight requests can be cached is 30 minutes. To change that behavior, specify a value in seconds.
Example CORS Configuration
micronaut:
server:
cors:
enabled: true
configurations:
web:
maxAge: 3600 # 1 hour
本文档使用 BookStack 构建