-
Notifications
You must be signed in to change notification settings - Fork 4
fix: refresh api 호출 안하는 이슈 수정 #2194
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
10 commits
Select commit
Hold shift + click to select a range
9fa944d
Merge pull request #2177 from sopt-makers/develop
seong-hui fd7033b
Merge pull request #2181 from sopt-makers/develop
seong-hui ba8eaff
fix: 딥링크 접근 권한 허용
ljh0608 152edb6
Merge pull request #2182 from sopt-makers/fix/#2178
ljh0608 e0b37f0
Merge pull request #2185 from sopt-makers/develop
namdaeun 9295077
fix: ask전용 딥링크 배포 cloudflare변경
ljh0608 cd27c1b
Merge pull request #2186 from sopt-makers/fix/#2178
ljh0608 8874b25
fix: 안드로이드 assetlinks 파일 내용 수정
ljh0608 ee819df
Merge pull request #2189 from sopt-makers/fix/#2178
ljh0608 b9f5df0
fix: refresh 잘 호출되도록 상위 조건 변경
ljh0608 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,19 @@ | ||
| const APPLE_APP_SITE_ASSOCIATION = `{ | ||
| "applinks": { | ||
| "apps": [], | ||
| "details": [ | ||
| { | ||
| "appID": "95YWTT5L8K.com.sopt-stamp-iOS.release", | ||
| "paths": ["*"] | ||
| } | ||
| ] | ||
| } | ||
| }`; | ||
|
|
||
| export const onRequest: PagesFunction = () => { | ||
| return new Response(APPLE_APP_SITE_ASSOCIATION, { | ||
| headers: { | ||
| 'Content-Type': 'application/json', | ||
| }, | ||
| }); | ||
| }; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,21 @@ | ||
| const ASSETLINKS_JSON = `[ | ||
| { | ||
| "relation": ["delegate_permission/common.handle_all_urls"], | ||
| "target": { | ||
| "namespace": "android_app", | ||
| "package_name": "org.sopt.official", | ||
| "sha256_cert_fingerprints": [ | ||
| "29:23:1F:E3:7A:FD:76:9C:58:CA:F3:E2:D9:7C:A1:69:CF:04:A8:6E:5B:8A:C6:56:6A:6F:E8:FD:D8:FF:47:43", | ||
| "30:8A:35:1F:E1:88:94:6F:BC:E9:B2:D5:FC:2F:9B:F2:10:35:2A:43:B8:36:03:8B:C4:1B:EA:51:23:76:1C:00" | ||
| ] | ||
| } | ||
| } | ||
| ]`; | ||
|
|
||
| export const onRequest: PagesFunction = () => { | ||
| return new Response(ASSETLINKS_JSON, { | ||
| headers: { | ||
| 'Content-Type': 'application/json', | ||
| }, | ||
| }); | ||
| }; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,20 +1,13 @@ | ||
| {\rtf1\ansi\ansicpg1252\cocoartf2822 | ||
| \cocoatextscaling0\cocoaplatform0{\fonttbl\f0\froman\fcharset0 Times-Roman;} | ||
| {\colortbl;\red255\green255\blue255;\red0\green0\blue0;} | ||
| {\*\expandedcolortbl;;\cssrgb\c0\c0\c0;} | ||
| \paperw11900\paperh16840\margl1440\margr1440\vieww11520\viewh8400\viewkind0 | ||
| \deftab720 | ||
| \pard\pardeftab720\partightenfactor0 | ||
|
|
||
| \f0\fs24 \cf0 \expnd0\expndtw0\kerning0 | ||
| \{\ | ||
| \'93applinks\'94: \{\ | ||
| \'93apps\'94: [],\ | ||
| \'93details\'94: [\ | ||
| \{\ | ||
| \'93appID\'94: \'9395YWTT5L8K.com.sopt-stamp-iOS.release\'94,\ | ||
| \'93paths\'94: [\'93*\'94]\ | ||
| \}\ | ||
| ]\ | ||
| \}\ | ||
| \}} | ||
| { | ||
| "applinks": { | ||
| "apps": [], | ||
| "details": [ | ||
| { | ||
| "appID": "95YWTT5L8K.com.sopt-stamp-iOS.release", | ||
| "paths": [ | ||
| "*" | ||
| ] | ||
| } | ||
| ] | ||
| } | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
프로덕션 환경에서
console.log(error)제거를 권장합니다.AxiosError객체에는config.headers.Authorization에 Bearer 토큰이 포함되어 있어, 전체 에러를console.log로 출력하면 브라우저 콘솔에 토큰이 노출될 수 있습니다. 디버깅 목적이라면console.error로 통일하거나, 민감한 정보가 포함되지 않는 메시지만 출력하는 것이 좋습니다.🔒 제안하는 수정
export const handleTokenError = async (error: AxiosError<unknown>) => { - console.log(error); + console.error('API error:', error.message, error.response?.status); const originRequest = error.config;📝 Committable suggestion
🤖 Prompt for AI Agents