I have my site hosted using Ghost on Azure. I’m trying to host a static file (https://asjit.com/.well-known/apple-app-site-association) so that my App can use app links.
I have the folder and file in the root of my theme folder and if you navigate to it it is served successfully. The only issue is that the content type needs to be application./json but it gets returned as application/octet-stream.
This file, note has no extension, needs to be in the location and with this name.
I have tried editing the web.config file on nmy site by adding
<staticContent> <!-- required for apple-app-site-association: --> <remove fileExtension="." /> <mimeMap fileExtension="." mimeType="application/pkcs7-mime" /> </staticContent>
but this seems to be ignored.
Is there any way of setting the content type of this one file?
- What’s your URL? asjit.com
- What version of Ghost are you using? 2.03
- What configuration? Runnign on Azure
- What browser?