vite public .well-known folder not available

cmaccarone
PRO

a year ago

I am having issues where after running the vite build and deploying my vite app the .well-known/apple-app-site-association file is not showing up but instead it's showing a 404 page. After some searching I am seeing someone had this similiar issue with AWS Amplify, isn't railway built on AWS? Could there be some missing configuration? When I build locally and run yarn preview I see the json file fine, but after I have deployed to prod it doesn't show up but instead shows a 404 page. Is there anything I can do about this here in railway?

--------

Solved

10 Replies

a year ago

There could be a lot of reasons for this, what's gonna help us help you the most would be if you could share your repo.


cmaccarone
PRO

a year ago

whats a secure way to do that?


a year ago

You could add me to the repo? - brody192


cmaccarone
PRO

a year ago

You could add me to the repo? - brody192

added


a year ago

I am view only, I can't help because I won't be able to fork so I could submit a PR.


cmaccarone
PRO

a year ago

access granted


a year ago

Thanks, will work on the PR shortly.


a year ago

Now I don't have any access to the repo?


cmaccarone
PRO

a year ago

sorry my team doesn't feel comfortable sharing repo access with you. if you want to share some ideas let me know. We didn't realize you don't work for railway


Status changed to Closed brody about 1 year ago


Status changed to Open brody about 1 year ago


cmaccarone
PRO

a year ago

Solution:

Using caddy instead of serve solved the issue for me.

I copied the caddy file and nixpacks.toml from @brody's repo here:
https://github.com/brody192/vite-react-template after doing this the apple deeplink config json showed up in my prod deployment


Status changed to Solved brody about 1 year ago