mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-24 20:19:49 +02:00
feat: dev use dev branch
This commit is contained in:
1 parent
be64934eb4
commit
4984c522ba
1 file changed
+3
-1
@@ -1,3 +1,5 @@
|
|||||||
|
import isDev from './isDev';
|
||||||
|
|
||||||
export function asset(path: string) {
|
export function asset(path: string) {
|
||||||
return `https://raw.githubusercontent.com/tresabhi/blitzkrieg-assets/main/${path}`;
|
return `https://raw.githubusercontent.com/tresabhi/blitzkrieg-assets/${isDev() ? 'dev' : 'main'}/${path}`;
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user