feat: 添加cors配置

main v1.2.1
NoahLan 1 year ago
parent 5f4db21c11
commit 75120e269f

@ -0,0 +1,6 @@
package config
// CORSConf stores the configuration for cross domain
type CORSConf struct {
Address string `json:",env=CORS_ADDRESS"`
}
Loading…
Cancel
Save