Skip to content
This repository has been archived by the owner on Mar 7, 2023. It is now read-only.

Commit

Permalink
update grant config
Browse files Browse the repository at this point in the history
  • Loading branch information
JayJay1024 committed Mar 25, 2022
1 parent 19731e3 commit 3e1d7cc
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions airdrop/api/grant.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@ import type { VercelRequest, VercelResponse } from "@vercel/node";
function getConfig() {
const config = {
defaults: {
// "origin": "https://docs.crab.network",
origin: "https://crab-docs-dev.vercel.app",
origin: "https://docs.crab.network",
transport: "querystring",
state: true,
},
Expand All @@ -23,8 +22,8 @@ function getConfig() {
},
},
};
config.github.key = process.env.PANGOLIN_GITHUB_OAUTH_APP_KEY;
config.github.secret = process.env.PANGOLIN_GITHUB_OAUTH_APP_SECRET;
config.github.key = process.env.GITHUB_OAUTH_APP_KEY;
config.github.secret = process.env.GITHUB_OAUTH_APP_KEY;
return config;
}

Expand Down

0 comments on commit 3e1d7cc

Please sign in to comment.