fix(miniapp): /api/me path for FastAPI backend (was ?path=me from Apps Script)

This commit is contained in:
wasrusgen 2026-05-10 22:19:34 +03:00
parent f85d3a9d1e
commit a849491f56

View File

@ -59,7 +59,7 @@ async function fetchMe() {
const urlParams = new URLSearchParams(window.location.search);
const explicitRole = urlParams.get("role");
const res = await fetch(`${BACKEND_URL}?path=me`, {
const res = await fetch(`${BACKEND_URL}/api/me`, {
method: "POST",
body: JSON.stringify({
initData: tg?.initData || "",