I created an application where you can upload the image and it's looking good, but I meet a problem when I want to load this file on the form.
For example I have config in C#:
builder.Services.AddSingleton<IFileProvider>(new PhysicalFileProvider(Path.Combine(Directory.GetCurrentDirectory(), "wwwroot")));
and later:
app.UseHttpsRedirection();
app.UseStaticFiles();
app.UseRouting();
and for example I have folder:
wwwroot -> upload -> 1162491080637832185565989557.jpg
I'm trying load this file in this way:
<img src="upload/1855610264637832204162556760.jpg" alt="">
but I still got 404. I don't know why because this file exists on the drive.
Best Regards, Krzysztof.
Ok, I resolved my problem in a clean way. Just added configuration to the Proxy file and everything is working fine.