From 5b50a57c7d4e019a8f22c6913104ae3c6aa78d9d Mon Sep 17 00:00:00 2001 From: Alistair McMillan Date: Tue, 28 May 2024 22:07:21 +0100 Subject: [PATCH] Fix for #13 model download error Without a .env file the software doesn't know where to download the model files and tries to get them from localhost. --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index e2baa40..96adf29 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,7 @@ "version": "0.0.0", "type": "module", "scripts": { - "dev": "vite", + "dev": "cp env.sample .env && vite", "build": "[ -f .env ] || cp env.sample .env && vite build && cp _headers dist/_headers", "preview": "vite preview", "check": "svelte-check --tsconfig ./tsconfig.json",