src/cors.bend fails
raw source on the hub · import emerging-ezhttp@0.9.0.0/src/cors.bend as Cors
ezhttp/src/cors: Fetch CORS response headers for a simple request and an OPTIONS
preflight. Origins are reflected, or *, and credentials never pair with *.
See https://fetch.spec.whatwg.org/#cors-protocol.
2 imports
import Base import ./http.bend as Http
The reader could not load this file (at 0xf0cabef12a69d5a23f62f89a75e1a7ba/src/body.bend:9). What bend.ts says:
Error:
- expected : a fresh constructor name (duplicate declaration: Text)
- observed : 'Text'
Location:
8 | Empty{}
9>| Text{text: String}
| ^^^^
10 | Octets{bytes: List<&2, U32>}