I need to upload the file apple-app-site-association to my web site so it can be associated with my iOS app for password authentication purposes;
I've used the new wix-code to upload the file to /public but can't access the file through https://{website}/apple-app-site-association
We hope to offer a file upload feature in the future?
I just hear --> file-upload?
---> https://www.wix.com/velo/forum/coding-with-velo/how-to-upload-from-buffer
After three years it seems like there is no solution isn't it? And feature request section is private (only for selected members) so no idea if they will ever work on that.
Facing the same issue for AASA, is there anyway to add file in the root folder? unable to setup universal link
Hi,
Unfortunately it is not possible to implement this using neither routers nor http functions
We hope to offer a file upload feature in the future.
Feel free to post your request in our Feature Request section
A router gives you control over a specific prefix which you can define to be what apple is looking for. Good luck!
Thanks Ohad; I checked out adding a router, however, when you associate a domain https://{domain}/ with an iOS app, Apple looks for the file in the root folder of the site: https://{domain}/apple-app-site-association or in https://{domain}/.well-known/apple-app-site-association. Routers don't let me do either of these ... got any other ideas?
Adding a file to /public doesn't expose it on your site.
If I understand the requirement correctly, to complete this action you should add a router to your site, for the desired url, and return the file you added.