fix: use Hermes session endpoint for login token validation (#227)

Co-authored-by: Han <hanzckernel@users.noreply.github.com>
This commit is contained in:
Zhicheng Han
2026-04-26 04:41:43 +02:00
committed by GitHub
parent 1e0dc69840
commit 2053da1c10
2 changed files with 76 additions and 1 deletions
+1 -1
View File
@@ -57,7 +57,7 @@ async function handleTokenLogin() {
errorMsg.value = "";
try {
const res = await fetch("/api/sessions", {
const res = await fetch("/api/hermes/sessions", {
headers: { Authorization: `Bearer ${key}` },
});