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