Switch back to next fonts in layout
This commit is contained in:
parent
69567fcd3f
commit
9ad90aaa8d
4 changed files with 20 additions and 23 deletions
|
|
@ -7,9 +7,12 @@ export async function GET(req: NextRequest) {
|
|||
}
|
||||
|
||||
// hit an endpoint that actually requires auth
|
||||
const res = await fetch("http://localhost:3001/services/sysapi/logs", {
|
||||
headers: { Authorization: `Bearer ${token}` },
|
||||
});
|
||||
const res = await fetch(
|
||||
"http://localhost:3001/services/server-dash-api/logs",
|
||||
{
|
||||
headers: { Authorization: `Bearer ${token}` },
|
||||
},
|
||||
);
|
||||
|
||||
if (!res.ok) {
|
||||
return NextResponse.json({ error: "Unauthorized" }, { status: 401 });
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue