51ce823b4531f73d98cd7af022bc31548650f19d
treaty from @elysiajs/eden doesn't support relative URLs like '/' This caused 'ERR_NAME_NOT_RESOLVED' when trying to access 'https://api/fileStorage/create' Solution: - Client-side: Use window.location.origin (e.g., https://desa-darmasaba-stg.wibudev.com) - Server-side dev: Use localhost:3000 - Server-side prod: Use NEXT_PUBLIC_BASE_URL env var This ensures the API calls use the correct domain in all environments. Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
Failed to Generate README
Description
Languages
TypeScript
99.4%
HTML
0.4%