Jeprary commited on
Commit
ba04000
·
1 Parent(s): 300e645

fix: allow blob: urls in worldLoader to enable local file dropping

Browse files
Files changed (1) hide show
  1. app/src/utils/worldLoader.ts +1 -1
app/src/utils/worldLoader.ts CHANGED
@@ -83,7 +83,7 @@ export async function fetchWorlds(): Promise<WorldEntry[]> {
83
 
84
  function localWorldAssetUrl(url: string | undefined): string {
85
  if (!url) return ''
86
- return url.startsWith('http') || url.startsWith('/models/') ? url : ''
87
  }
88
 
89
  export function getSplatUrl(world: World): string {
 
83
 
84
  function localWorldAssetUrl(url: string | undefined): string {
85
  if (!url) return ''
86
+ return url.startsWith('http') || url.startsWith('/models/') || url.startsWith('blob:') ? url : ''
87
  }
88
 
89
  export function getSplatUrl(world: World): string {