type Cfg
import emerging-ezhttp@0.21.0.0/src/cors.bend as Corsimport Base
7# allow-list for a server. `origins` of `["*"]` allows any origin.
8type Cfg is Data:
9 Cfg{
10 origins: List<&2, String>
11 methods: List<&2, String>
12 headers: List<&2, String>
13 credentials: Bool
14 max_age: String
15 expose: List<&2, String>
16 }