-
Notifications
You must be signed in to change notification settings - Fork 1
[Feature/#78] 워크스페이스 로고 이미지 업로드 API 연동 #90
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
9 commits
Select commit
Hold shift + click to select a range
07edf10
feat: logoUrl API 연동
jjjsun 3c5fec1
fix: 이미지 업로드 토큰오류수정
jjjsun 7820b37
fix: logoUrl 서버로 업로드는 수정완료, 브라우저에서 가져오는 단계에서 접근권한 오류 발생하여 백엔드 문의중
jjjsun 7eb418f
fix: 로고업로드 API수정중. 현재 에러코드 500으로 서버에러 발생하여 백엔드에 문의중(미완료작업)
jjjsun baa1556
fix: 로고업로드 API연동 오류해결, 업로드형식 고정이어서 프론트내에서 오류발생하고 있었음
jjjsun 69febd2
fix: 코드래빗 수정사항 반영
jjjsun 0227022
chore: WorkspaceSetting페이지에서 로고이미지 부분 정사각형 처리, 반응형 적용, 컴포넌트간 간격 조절
jjjsun 9736711
fix: 코드래빗 수정사항 반영
jjjsun e6ce5bf
fix: 코드래빗 수정사항 적용
jjjsun 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
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
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,9 @@ | ||
| export const getImageUrl = (url?: string | null): string | null => { | ||
| if (!url) return null; | ||
| if (url.startsWith("http://") || url.startsWith("https://")) { | ||
| return url; | ||
| } | ||
| const BASE_URL = import.meta.env.VITE_API_BASE_URL; | ||
| if (!BASE_URL) return url; | ||
| return new URL(url, BASE_URL).toString(); | ||
| }; |
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.
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.
Uh oh!
There was an error while loading. Please reload this page.