Skip to content

Commit

Permalink
Update files
Browse files Browse the repository at this point in the history
  • Loading branch information
zoelabbb committed Nov 12, 2023
1 parent e3f982f commit 31f9fdb
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions src/app.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
// app.ts
import { deploy } from "https://deno.com/deploy/deploy.ts";
import { Application } from "../deps.ts";
import router from "./routes/ramadhanRoute.ts";

Expand All @@ -8,7 +7,5 @@ const app = new Application();
app.use(router.routes());
app.use(router.allowedMethods());

console.log("Server now running on http://localhost:8000");

// await app.listen({ port: 8000 });
addEventListener("fetch", deploy(app));
// console.log("Server now running ");
await app.listen({ port: 3000 });

0 comments on commit 31f9fdb

Please sign in to comment.