Is it possible to use this URL domain.tld/android_application_name.apk to serve an Android application apk file from AndroidApplications directory?
In other words, I have a folder sibling to Controllers folder and wwwroot folder and Program.cs file. It's called AndroidApplications and inside it I have a bunch of .apk files. But I don't want to add an extra segment to the URL for them. I want to be able to serve app1.apk via this URL: domain.tld/app1.apk. How can I achieve that?
.apkfiles are located inside another folder. And to serve from another folder, we need a path segment to be specified. In other words, you can't serve/something.jpgfrom another folder. You need to serve it via/some-path-segment/something.jpg. But I already have my URLs published to other places, so I can't prefix them.