Make it possible to use a dynamic api endpoint for local development

This commit is contained in:
Johannes Zellner
2024-10-04 15:22:11 +02:00
parent ac98895e15
commit 6534e99103
3 changed files with 12 additions and 4 deletions

View File

@@ -4,7 +4,9 @@
"description": "[Cloudron](https://cloudron.io) is the best way to run apps on your server.",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"update-translations": "curl https://translate.cloudron.io/api/components/cloudron/dashboard/file/ -o lang.zip && unzip -jo lang.zip -d ./public/translation/ && rm lang.zip"
"update-translations": "curl https://translate.cloudron.io/api/components/cloudron/dashboard/file/ -o lang.zip && unzip -jo lang.zip -d ./public/translation/ && rm lang.zip",
"dev": "vite --strictPort --port 4000",
"build": "vite build"
},
"repository": {
"type": "git",