Do not set API_ORIGIN if deployed

This commit is contained in:
Johannes Zellner
2025-03-18 23:08:47 +01:00
parent bba9de7b76
commit 3832ac3965
2 changed files with 168 additions and 1 deletions

View File

@@ -1,5 +1,5 @@
const API_ORIGIN = import.meta.env.VITE_API_ORIGIN || window.location.origin;
const API_ORIGIN = import.meta.env.VITE_API_ORIGIN || '';
// app.accessRestriction:
// null = ANY