Harden invoice public links and tighten draft UI.

Use publicId in links, compact key-point/account labels, English business names, and readable favicon deploy perms.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Alireza Hassani
2026-07-26 12:00:10 +03:30
co-authored by Cursor
parent cbffb23ec3
commit 2e40d5eb4c
11 changed files with 152 additions and 107 deletions
+5 -1
View File
@@ -33,9 +33,13 @@ rsync -az --delete \
ssh root@45.149.76.52 'cd /opt/meshkee/dashboards && npm ci && npm run build && \
rsync -a --delete apps/super-admin/dist/ /var/www/meshkee/super-admin/ && \
rsync -a --delete apps/business/dist/ /var/www/meshkee/business/ && \
rsync -a --delete apps/customer/dist/ /var/www/meshkee/customer/'
rsync -a --delete apps/customer/dist/ /var/www/meshkee/customer/ && \
find /var/www/meshkee -type f -exec chmod a+r {} + && \
find /var/www/meshkee -type d -exec chmod a+rx {} +'
```
> **Note:** Source files like `favicon.png` must be world-readable (`644`). If they are `700`, Nginx returns **403** and browsers fall back to a default icon (often the Vite lightning bolt).
Build env on server (`apps/*/.env`):
- All: `VITE_API_BASE_URL=https://api.meshkee.com/api/v1`