This commit is contained in:
Omar Polo 2021-01-30 12:12:37 +00:00
parent 6016a593a3
commit b59f3cdd27
1 changed files with 2 additions and 2 deletions

View File

@ -84,8 +84,8 @@ vhost_index(struct vhost *v, const char *path)
}
}
if (v->locations[0].default_mime != NULL)
return v->locations[0].default_mime;
if (v->locations[0].index != NULL)
return v->locations[0].index;
return index;
}