mirror of
https://git.meshkee.com/Meshkee/dashboards.git
synced 2026-08-11 22:30:58 +04:30
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:
co-authored by
Cursor
parent
cbffb23ec3
commit
2e40d5eb4c
+5
-1
@@ -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`
|
||||
|
||||
Reference in New Issue
Block a user