Skip to content

Commit

Permalink
fix types
Browse files Browse the repository at this point in the history
  • Loading branch information
SpiralP committed Feb 29, 2024
1 parent 9b4c2a3 commit c802573
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/discord-embed-proxy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import { promisify } from "util";
import { decodeComponent } from "./src/utils.js";

const HOST = process.env.HOST || "0.0.0.0";
const PORT = process.env.PORT || 8080;
const PORT = parseInt(process.env.PORT || "8080", 10);

const DISCORD_USER_AGENT =
"Mozilla/5.0 (compatible; Discordbot/2.0; +https://discordapp.com)";
Expand Down

0 comments on commit c802573

Please sign in to comment.