Security fix for path-traversal attack (#48)

Additionally:

- Make expense and budget modal "reset" once closed, saved, or deleted.
- Make manifest icons dark
- Budgets in small screens should be full-screen
- Minor code cleanup

Fixes #48
This commit is contained in:
Bruno Bernardino
2025-02-27 15:02:10 +00:00
parent b3bd8cb3cc
commit 4faa7bd05d
10 changed files with 246 additions and 30 deletions

View File

@@ -3,20 +3,31 @@
"short_name": "bewCloud",
"icons": [
{
"src": "/images/logomark.svg",
"src": "/images/favicon-dark.svg",
"sizes": "1024x1024 any",
"type": "image/svg+xml",
"purpose": "monochrome maskable"
"purpose": "any maskable"
},
{
"src": "/images/favicon.png",
"src": "/images/favicon-dark.png",
"sizes": "1024x1024",
"type": "image/png"
"type": "image/png",
"purpose": "any maskable"
}
],
"theme_color": "#51a4fb",
"theme_color": "#1e293b",
"background_color": "#1e293b",
"start_url": "/",
"display": "standalone",
"orientation": "portrait"
"orientation": "portrait",
"shortcuts": [
{
"name": "News",
"url": "/news"
},
{
"name": "Expenses",
"url": "/expenses"
}
]
}