This commit is contained in:
2026-03-22 23:31:19 -04:00
parent 64522764cb
commit 2d164958d8
4 changed files with 111 additions and 4 deletions

View File

@@ -170,6 +170,7 @@ export const api = {
getFirebaseConfig: () => req('GET', '/push/firebase-config'),
subscribePush: (fcmToken) => req('POST', '/push/subscribe', { fcmToken }),
unsubscribePush: () => req('POST', '/push/unsubscribe'),
testPush: () => req('POST', '/push/test'),
// Link preview
getLinkPreview: (url) => req('GET', `/link-preview?url=${encodeURIComponent(url)}`),