-
Notifications
You must be signed in to change notification settings - Fork 3
merge to main #378
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
merge to main #378
Conversation
fix: order api 수정
|
Caution Review failedThe pull request is closed. WalkthroughReplaced the exported axios client with a private, environment-aware client in order.ts and updated createOrder/getOrderDetails to use it. getStorePayments continues using a full URL via axios. Removed the /orders rewrite from vercel.json; other rewrites and the catch-all remain unchanged. Changes
Sequence Diagram(s)sequenceDiagram
autonumber
participant U as User
participant FE as Nowait User App (Frontend)
participant AC as Private API Client
participant BE as Server (VITE_SERVER_URI)
participant EXT as nowait.co.kr
rect rgb(240,248,255)
note right of FE: New flow (orders)
U->>FE: Initiate order/create or fetch details
FE->>AC: api.post("/orders") / api.get("/orders/:id")
AC->>BE: HTTP request (withCredentials)
BE-->>AC: Response
AC-->>FE: Data
FE-->>U: Render result
end
rect rgb(253,245,230)
note right of FE: Previous routing (removed)
U->>FE: Navigate to /orders/...
FE->>EXT: Proxy via vercel.json rewrite (removed)
EXT-->>FE: Response
end
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes Possibly related PRs
Suggested reviewers
Poem
Tip 🔌 Remote MCP (Model Context Protocol) integration is now available!Pro plan users can now connect to remote MCP servers from the Integrations page. Connect with popular remote MCPs such as Notion and Linear to add more context to your reviews and chats. 📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: CHILL Plan: Pro 💡 Knowledge Base configuration:
You can enable these sources in your CodeRabbit configuration. 📒 Files selected for processing (2)
✨ Finishing Touches
🧪 Generate unit tests
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. CodeRabbit Commands (Invoked using PR/Issue comments)Type Other keywords and placeholders
CodeRabbit Configuration File (
|
작업 내용
문제점 및 어려움
해결 방안
공유 사항
Summary by CodeRabbit
Refactor
Chores