Skip to content

Commit

Permalink
Merge pull request #123 from Docent-Inc/feature/api
Browse files Browse the repository at this point in the history
Feature/api - 미들웨어에 테스트 토큰 제거
  • Loading branch information
taewan2002 authored Dec 23, 2023
2 parents 1fc13d9 + b7f523e commit 82a3c5e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion middleware/auth.global.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ export default defineNuxtRouteMiddleware(async (to, from) => {
// console.log("🍪refresh - ", refreshTokenC);
// console.log("🍪expiresIn - ", expiresIn);
// console.log("access - ", accessToken);
setAccessToken("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJ0d2NobzAyMDVAZ21haWwuY29tIiwiZXhwIjoxNDMwMDk4MDQ3Mn0._7CobpeILug91YsayMUsGONO2oddYYpUIpL7hNSuw08")
// setAccessToken("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJ0d2NobzAyMDVAZ21haWwuY29tIiwiZXhwIjoxNDMwMDk4MDQ3Mn0._7CobpeILug91YsayMUsGONO2oddYYpUIpL7hNSuw08")

// (1) 액세스 토큰 없으면 쿠키 확인
if (!accessToken) {
Expand Down

0 comments on commit 82a3c5e

Please sign in to comment.