Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- app.UseFileServer(new FileServerOptions()
- {
- FileProvider = new PhysicalFileProvider(env.ContentRootPath + "/Albums"),
- RequestPath = new PathString("/Albums"),
- EnableDirectoryBrowsing = true
- });
- Initialize(_environment.WebRootPath + "/Albums");
Add Comment
Please, Sign In to add comment