2 Commits

Author SHA1 Message Date
Boris Cherepanov df8d8f0d73 Merge branch 'DEV' into feature/node-app
Publish Metadata Agent Image / build-and-push-image (push) Successful in 1m5s
Publish Node Player Image / build-and-push-image (push) Failing after 26s
Publish Web Player Image / build-and-push-image (push) Successful in 1m43s
2026-04-19 21:11:31 +03:00
Boris Cherepanov 74d7b10386 feat: remove useless host
Publish Metadata Agent Image / build-and-push-image (push) Successful in 2m41s
Publish Web Player Image / build-and-push-image (push) Successful in 1m7s
2026-04-19 21:01:30 +03:00
+5 -1
View File
@@ -17,7 +17,9 @@ function App() {
useEffect(() => {
const loadMe = async () => {
try {
const response = await fetch('/auth/me', { credentials: 'include' })
const response = await fetch(`/api/me`, {
credentials: 'include',
})
if (response.status === 401) {
setUser(null)
@@ -55,6 +57,8 @@ function App() {
void loadMe()
}, [])
const loginUrl = `/api/login`
const logoutUrl = `/api/logout`
// Authenticated — render player immediately
if (!loading && user) {
return <FurumiPlayer user={user} />