Skip to content

armgit / umami

Public Imported from GitHub
0

Umami is a privacy-first web and product analytics platform. Traffic, campaigns, behavior, conversions, and revenue in one place. No cookies, no surveillance, self-hosted or in the cloud.

fix logout error

Francis Cao5fc96cf5e1fd
diff --git a/pages/logout.js b/pages/logout.js
index 8f102f6a0..6ffe23e14 100644
--- a/pages/logout.js
+++ b/pages/logout.js
@@ -10,7 +10,7 @@ export default function LogoutPage({ disabled }) {
useEffect(() => {
async function logout() {
- await post('/logout');
+ await post('/auth/logout');
}
if (!disabled) {