Skip to content

Commit

Permalink
fix: update app.js with latest changes
Browse files Browse the repository at this point in the history
  • Loading branch information
ARCIST-AI committed May 29, 2024
1 parent 25bdd92 commit 4787472
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ import { getFakeProfile, getWikiItem } from './game.js';

// Create an express app
const app = express();
// Get port, or default to 3000
const PORT = process.env.PORT || 3000;
// Get port, or default to 8080
const PORT = process.env.PORT || 8080;
// Parse request body and verifies incoming requests using discord-interactions package
app.use(express.json({ verify: VerifyDiscordRequest(process.env.PUBLIC_KEY) }));

Expand Down

0 comments on commit 4787472

Please sign in to comment.