Last active
October 12, 2021 14:24
-
-
Save 4ov/4177a10834b643ff4bad3e7a4dfc5a4f to your computer and use it in GitHub Desktop.
deno deploy env test
This file contains 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 { h, json, jsx, serve } from "https://deno.land/x/sift/mod.ts"; | |
serve({ | |
"/set": () => { | |
localStorage.x = `${Math.random()}` | |
return new Response("hola") | |
}, | |
"/" : ()=>{ | |
return new Response(`${localStorage.x}`) | |
} | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment