...
|
...
|
@@ -61,7 +61,7 @@ func init() { |
|
|
|
|
|
web.BConfig.Listen.HTTPSCertFile = "./config/fjmaimaimai.com_bundle.crt"
|
|
|
web.BConfig.Listen.HTTPSKeyFile = "./config/fjmaimaimai.com.key"
|
|
|
web.InsertFilter("/*", web.BeforeExec, filters.AllowCors())
|
|
|
web.InsertFilter("/*", web.BeforeRouter, filters.AllowCors())
|
|
|
web.InsertFilter("/*", web.BeforeExec, filters.CreateRequstLogFilter(Logger))
|
|
|
web.InsertFilter("/*", web.AfterExec, filters.CreateResponseLogFilter(Logger), web.WithReturnOnOutput(false))
|
|
|
} |
...
|
...
|
|