fix: add /mobile prefix to all client-side fetch() calls for basePath
This commit is contained in:
+1
-1
@@ -39,7 +39,7 @@ export default function HomePage() {
|
||||
setClaiming(true);
|
||||
setClaimResult(null);
|
||||
try {
|
||||
const res = await fetch("/api/gamification/streak", {
|
||||
const res = await fetch("/mobile/api/gamification/streak", {
|
||||
method: "POST",
|
||||
headers: { Authorization: `Bearer ${token}` },
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user