fix(auth, pwa): restore api.auth.me, bump PWA cache to v5.3, and fix CEFR CSS styling

This commit is contained in:
Antigravity committed 2026-10-06 16:04:58 +03:00
1 parent a2eb26ced5
commit 15d4987977
4 files changed
+57 -6

No files matched your search

+4 -1
View File
@@ -28,8 +28,11 @@ window.fetch = function(url, options = {}) {
export const api = {
// Auth endpoints
auth: {
async me() {
return await fetch('/api/me');
},
async check() {
const resp = await fetch('/api/me');
const resp = await this.me();
if (resp.ok) {
return await resp.json();
}