Move vites base argument to docker setup to make local development work again outside of docker

environments/review-docs-renov-4e893d/deployments/11092
Georg Krause 2022-03-15 11:58:14 +01:00 zatwierdzone przez Marcos Peña
rodzic 661afa676f
commit 562568b328
2 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -17,7 +17,7 @@ services:
- "./po:/po"
networks:
- internal
command: "yarn dev"
command: "yarn dev --base /front/"
postgres:
env_file:

Wyświetl plik

@ -5,7 +5,7 @@
"description": "Funkwhale front-end",
"author": "Funkwhale Collective <contact@funkwhale.audio>",
"scripts": {
"dev": "vite --host --base /front/",
"dev": "vite --host",
"build": "vite build",
"build:deployment": "vite build --base /front/",
"serve": "vite preview",