Skip to content

Commit

Permalink
chore:
Browse files Browse the repository at this point in the history
  • Loading branch information
이은상 committed Dec 26, 2024
1 parent 2986c0f commit 1d18e23
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions 7_auth/7_1_express_js/src/controllers/GitHubController.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,12 @@ import { Request, Response } from "express";
import axios from "axios";
import { useMiddleware } from "../decorators/LogDecorator";

const CLIENT_ID = process.env.CLIENT_ID!;
const CLIENT_SECRET = process.env.CLIENT_SECRET!;
const CLIENT_ID = process.env.CLIENT_ID;
const CLIENT_SECRET = process.env.CLIENT_SECRET;

// debug
console.log(CLIENT_ID);
console.log(CLIENT_SECRET);

const REDIRECT_URI = "http://localhost:3000/callback";
const GITHUB_API_URL = "https://api.github.com";
Expand Down

0 comments on commit 1d18e23

Please sign in to comment.