support dynamic bower path

This commit is contained in:
Luke Pulverenti
2015-12-12 23:53:56 -05:00
parent 9c31e7a933
commit 33dffd2943
3 changed files with 27 additions and 29 deletions

View File

@@ -637,7 +637,11 @@ namespace MediaBrowser.Api.Images
ResponseHeaders = headers,
ContentType = imageResult.Item2,
IsHeadRequest = isHeadRequest,
Path = imageResult.Item1
Path = imageResult.Item1,
// Sometimes imagemagick keeps a hold on the file briefly even after it's done writing to it.
// I'd rather do this than add a delay after saving the file
FileShare = FileShare.ReadWrite
});
}