feat: migrate yacd url to dynamic

This commit is contained in:
divocat
2025-10-02 23:25:14 +03:00
parent cd133838cb
commit 3988588c9f
5 changed files with 14 additions and 1 deletions

View File

@@ -0,0 +1,4 @@
export function getBaseUrl(): string {
const { protocol, hostname } = window.location;
return `${protocol}//${hostname}`;
}

View File

@@ -0,0 +1 @@
export * from './getBaseUrl';

View File

@@ -3,3 +3,4 @@
export * from './validators';
export * from './constants';
export * from './helpers';