2 years 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?
--------
10 Replies
2 years 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.
2 years ago
whats a secure way to do that?
2 years ago
You could add me to the repo? - brody192
added
2 years ago
I am view only, I can't help because I won't be able to fork so I could submit a PR.
2 years ago
access granted
2 years 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 • over 1 year ago
Status changed to Open brody • over 1 year ago
2 years 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 • over 1 year ago