cors.bend fails
raw source on the hub · import 0x5e4e2a9db839a0214ace6923b04b685b/cors.bend as Cors
ezhttp/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 0x5e4e2a9db839a0214ace6923b04b685b/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>}