feat: remove useless host
This commit is contained in:
@@ -34,7 +34,7 @@ function App() {
|
||||
|
||||
const loadMe = async () => {
|
||||
try {
|
||||
const response = await fetch(`${apiBase}/api/me`, {
|
||||
const response = await fetch(`/api/me`, {
|
||||
credentials: 'include',
|
||||
})
|
||||
|
||||
@@ -59,8 +59,8 @@ function App() {
|
||||
void loadMe()
|
||||
}, [apiBase, runWithoutAuth])
|
||||
|
||||
const loginUrl = `${apiBase}/api/login`
|
||||
const logoutUrl = `${apiBase}/api/logout`
|
||||
const loginUrl = `/api/login`
|
||||
const logoutUrl = `/api/logout`
|
||||
|
||||
return (
|
||||
<>
|
||||
|
||||
Reference in New Issue
Block a user