SabaMazmishvili
SabaMazmishvili
DDeno
Created by SabaMazmishvili on 5/3/2024 in #help
I cant install deno by running this command: curl -fsSL https://deno.land/install.sh | sh
import { serve } from "https://deno.land/std/http/server.ts"; // setup server const server = serve({ port: 3000 }); console.log('http://localhost:3000/'); for await (const req of server) { // serve index page if (req.url === '/') { req.respond({ status: 200, body: await Deno.open('./public/index.html') }) } }
12 replies
DDeno
Created by SabaMazmishvili on 5/3/2024 in #help
I cant install deno by running this command: curl -fsSL https://deno.land/install.sh | sh
I will paste my code here, down below
12 replies
DDeno
Created by SabaMazmishvili on 5/3/2024 in #help
I cant install deno by running this command: curl -fsSL https://deno.land/install.sh | sh
I can't work with deno
12 replies