Apply suggestions from code review of branch no-dev-tools

Co-authored-by: Joe Knapper <joe.knapper@glasgow.ac.uk>
This commit is contained in:
Julian Stirling 2026-05-15 11:48:51 +00:00
parent a31969d228
commit 20e6cbc1a2
2 changed files with 4 additions and 4 deletions

View file

@ -17,7 +17,7 @@ export default defineConfig(({ command, mode }) => {
if (env.VITE_API_TARGET === "local") {
target = "http://localhost:5000";
} else if (env.VITE_API_TARGET === "microscope") {
target = env.VITE_MICROSCPOPE_HOST || "http://microscope.local:5000";
target = env.VITE_MICROSCOPE_HOST || "http://microscope.local:5000";
} else {
throw new Error(`Invalid VITE_API_TARGET: ${env.VITE_API_TARGET}`);
}