goes to a random website hosted on wisp.place
6
fork

Configure Feed

Select the types of activity you want to include in your feed.

wisp deploy

dawn b9bbc24d e908fdbb

+7 -3
+1 -1
.gitignore
··· 2 2 /.envrc 3 3 /.direnv 4 4 hydrant.db 5 - redirect.out.html 5 + dist
+3 -1
build.ts
··· 1 1 const html = await Deno.readTextFile("redirect.html"); 2 2 const url = Deno.env.get("API_URL") ?? "/"; 3 - await Deno.writeTextFile("redirect.out.html", html.replaceAll("__API_URL__", url)); 3 + await Deno.remove("dist", { recursive: true }).catch(() => {}); 4 + await Deno.mkdir("dist"); 5 + await Deno.writeTextFile("dist/redirect.html", html.replaceAll("__API_URL__", url));
+2 -1
deno.json
··· 4 4 "tasks": { 5 5 "start": "deno run -A --unstable-kv main.ts", 6 6 "dev": "deno run -A --unstable-kv --watch main.ts", 7 - "build": "deno run -A build.ts" 7 + "build": "deno run -A build.ts", 8 + "deploy": "deno task build && npm create wisp -- deploy -y --spa --path ./dist --site random did:plc:dfl62fgb7wtjj3fcbb72naae" 8 9 } 9 10 }
+1
flake.nix
··· 17 17 default = pkgs.mkShell { 18 18 packages = with pkgs; [ 19 19 deno 20 + nodejs 20 21 ]; 21 22 }; 22 23 };