Default creates a new Cors handler with default options.
()
| 246 | |
| 247 | // Default creates a new Cors handler with default options. |
| 248 | func Default() *Cors { |
| 249 | return New(Options{}) |
| 250 | } |
| 251 | |
| 252 | // AllowAll create a new Cors handler with permissive configuration allowing all |
| 253 | // origins with all standard methods with any header and credentials. |
searching dependent graphs…