mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-23 11:39:50 +02:00
feat: isolated discovery
This commit is contained in:
1 parent
a36ffe74c4
commit
93c7392d6e
3 files changed
+109
-3
No files matched your search
@@ -1,6 +1,6 @@
|
||||
import { ASSETS_REPO } from '../../constants/assets';
|
||||
import isDev from './isDev';
|
||||
|
||||
export function asset(path: string) {
|
||||
return `https://raw.githubusercontent.com/tresabhi/${ASSETS_REPO}/${isDev() ? 'dev' : 'main'}/${path}`;
|
||||
export function asset(path: string, dev = isDev()) {
|
||||
return `https://raw.githubusercontent.com/tresabhi/${ASSETS_REPO}/${dev ? 'dev' : 'main'}/${path}`;
|
||||
}
|
||||
Reference in new issue
Block a user