upload a file

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

1 Like

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.

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?

A router gives you control over a specific prefix which you can define to be what apple is looking for. Good luck!

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

Hi ido, if you work at Wix can you please tell them to add Ads.txt upload to root domain. I’m loosing money from ad revenue because i need to have ad sellers verified in domain to earn more. i would also like to see some html coding compression enabled if that is possible to speed up loading times. i ran my website through Gtmetrix and it said there where many uncompressed codes.

Thank you in advance!

I their any implementation or a work around for this problem?

Facing the same issue for AASA, is there anyway to add file in the root folder?
unable to setup universal link

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.

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

Can be closed!