Sneep3r4476
Sneep3r4476
RRailway
Created by Sneep3r4476 on 7/16/2024 in #✋|help
Has anyone had an issues with .well-known/ files not showing up properly in their railway builds?
my env: vite react web app. vite config: import { defineConfig } from 'vite' import react from '@vitejs/plugin-react' // https://vitejs.dev/config/ export default defineConfig({ plugins: [react()], build: { sourcemap: true, outDir: 'build', }, publicDir: 'public', }) I am trying to setup our web app to verify apple universal links for our mobile apps. But it's not working. when I test locally running vite build and then vite preview it shows the config file fine, but after running my build in railway the deployed version of the app shows a 404 page when I try visiting the path. The file is .well-known/apple-app-site-association which apple requires not to have a .json file name. This is a commonly needed feature. I would appreciate any feedback if anyone has had any experience configuring .well-known files with railway before. I can't give access to the repo but I can spin up a example one if need be to demonstrate the issue. original issue: https://help.railway.app/questions/vite-public-well-known-folder-not-avail-a7ea8a05
19 replies