This commit is contained in:
2025-12-26 19:00:35 +08:00
commit ad2d73a61b
34 changed files with 8683 additions and 0 deletions

15
web/src/modules/query.ts Normal file
View File

@@ -0,0 +1,15 @@
import { Query } from '@kevisual/query'
const getUrl = () => {
const host = window.location.host
const isKevisual = host.includes('kevisual');
if (isKevisual) {
return '/api/router'
}
return '/client/router'
}
export const query = new Query({
url: getUrl()
});