Skip to content

Commit 2b43e77

Browse files
committed
load index.json from the root
1 parent 6661576 commit 2b43e77

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/studio/fs.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -416,7 +416,7 @@ void tic_fs_enum(tic_fs* fs, fs_list_callback onItem, fs_done_callback onDone, v
416416
if(isPublic(fs))
417417
{
418418
char request[TICNAME_MAX];
419-
snprintf(request, sizeof request, "/dev%s/index.json", fs->work + STRLEN(TIC_HOST));
419+
snprintf(request, sizeof request, "%s/index.json", fs->work + STRLEN(TIC_HOST));
420420

421421
NetDirData netDirData = { onItem, onDone, data };
422422
tic_net_get(fs->net, request, onDirResponse, MOVE(netDirData));

0 commit comments

Comments
 (0)