frontend: ensure API_ORIGIN is always set
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
const API_ORIGIN = import.meta.env.VITE_API_ORIGIN ? 'https://' + import.meta.env.VITE_API_ORIGIN : '';
|
||||
const API_ORIGIN = import.meta.env.VITE_API_ORIGIN ? 'https://' + import.meta.env.VITE_API_ORIGIN : window.origin;
|
||||
|
||||
import { createI18n } from 'vue-i18n';
|
||||
import { fetcher } from 'pankow';
|
||||
|
||||
Reference in New Issue
Block a user