Make audit logs server owned

This commit is contained in:
Arun committed 2026-08-11 10:59:58 +00:00
1 parent 145f13fee5
commit a5a880dfb2
6 files changed
+81 -28

No files matched your search

+2 -2
View File
@@ -1091,7 +1091,7 @@ async function init() {
try {
const user = await API.getMe();
currentUser = user;
API.logEvent('login').catch(() => {});
} catch (e) {
token = null;
localStorage.removeItem('forumlify-token');
@@ -1242,7 +1242,7 @@ async function init() {
});
try {
await API.createPost(title, content, images);
API.logEvent('create_post').catch(() => {});
alert('发布成功!');
switchPage('feed');
renderFeed();