How to host a static file in the web app public/.well-known/ directory

Hi WeWeb community. For Apple, since we have an iOS app, we need to host a json file that must be served at <domain>/.well-known/apple-app-site-association for Apple’s verification.

We see how to upload a file within WW editor, but the placement is not where we need it to be. In the context of our regular web app, we just drop the static txt file directly into the web app public/.well-known/ directory. And anything in public/ is exposed by the webserver directly.

Since we’re wanting to move our marketing website into WeWeb, can someone help us understand how to position the file within public/.well-known directory?

Thanks!

1 Like

Hi @forgelab, unfortunately, it’s not possible for now
We have a feature idea that will enable this but it’s not in the roadmap yet

We finally added it to the roadmap, it should be in production during next week (at best)

Hi! Is it implemented now?
When we upload a file from dashboard, it returns the link that looks like that:
https://weweb-production.s3.amazonaws.com/designs/.../files/

As I see on my website, files are in https://www.project.com/public/files/… directory. But when I use new files name, it returns 404

Hello @Mael, have you been able to provide this feature? We would be very interested to know how to server those .well-known files from weweb, as we have the same use case as the author of this ticket: we would like to enable Universal Links from a domain that is redirected to a weweb instance.
Thanks for your help!