diff --git a/core/config/cors.go b/core/config/cors.go new file mode 100644 index 0000000..a524e0c --- /dev/null +++ b/core/config/cors.go @@ -0,0 +1,6 @@ +package config + +// CORSConf stores the configuration for cross domain +type CORSConf struct { + Address string `json:",env=CORS_ADDRESS"` +}