Created
May 11, 2021 02:39
-
-
Save kt3k/43e25efffc6e1c360fc64274ea0381eb to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { parse } from "https://raw.githubusercontent.com/kt3k/deno_std/fix/yaml-compat-deploy/encoding/yaml.ts"; | |
addEventListener("fetch", (e) => { | |
e.respondWith(new Response(JSON.stringify(parse(` | |
foo: bar | |
baz: | |
- qux | |
- quux | |
`)))); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment