Commit Graph

10 Commits

Author SHA1 Message Date
5f2e2f44ca Fix admin login reload loop from stale localStorage tokens.
Clear client tokens on the login page, gate admin pages with shared cookie JWT checks, and clear Secure cookies reliably behind the proxy.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-07 11:20:22 +05:00
ddd898078c Localize client API responses by lang query param.
Client endpoints now return a single-language string (default tm) so the frontend can pass ?lang= and skip picking from nested tm/ru/en objects.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-06 12:27:10 +05:00
76848f4982 Point frontend API base URL at test and restore currency path fields.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-05 19:15:46 +05:00
3230cc59ad Order categories newest-first and uppercase menu category names.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-05 16:05:36 +05:00
a04bbb8eae Slim banner list to id/imagePath and fix slider click navigation.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-05 15:59:11 +05:00
8d7390894e Optimize list API payloads and replace homepage swiper with a lighter slider.
Skip unused HTML and metadata from client/admin list queries so pages load less data, and load banner detail by id.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-05 15:27:42 +05:00
ca0692d190 Add client banner-by-id API and point frontend at new client endpoints.
Also save admin uploads locally under /public/images with a 10MB limit.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-05 14:46:23 +05:00
a3c87d231b Serve /public static files and grant bank_admin table access.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-05 14:28:00 +05:00
bd7bdf5867 change routee 2026-08-04 18:01:20 +05:00
363127fe9e fixed 2026-08-04 12:50:20 +05:00