fix: auto-detect base URL from window.location.origin

- public/test-api.html: value di baseUrl input kosong, apiBase() fallback ke window.location.origin,
  plus DOMContentLoaded listener utk auto-fill
- api/test-api-content.ts: sama (legacy Next.js route)
- Router.ts handleDocs() sudah pakai pendekatan ini sebelumnya
This commit is contained in:
MythEclipse
2026-06-20 21:49:37 +07:00
parent 2f2aa08264
commit d5f8dfc1d7
2 changed files with 8 additions and 3 deletions
File diff suppressed because one or more lines are too long