We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 87376e5 commit 774be14Copy full SHA for 774be14
2 files changed
env-example
@@ -1,3 +1,4 @@
1
+PORT=8080
2
GITHUB_TOKEN1=
3
GITHUB_TOKEN2=
4
GITHUB_API=https://api.github.com/graphql
debug.ts main.tsdebug.ts renamed to main.ts
@@ -1,4 +1,4 @@
import { serve } from "https://deno.land/std@0.125.0/http/server.ts";
import requestHandler from "./api/index.ts";
-serve(requestHandler, { port: 8080 });
+serve(requestHandler, { port: Number(Deno.env.get("PORT")) || 8080 });
0 commit comments