Mount path for volume using Svelte.

So i have large media files in my project. Im trying to bypass the 'file too large' deploy errors. so i have used a FileBrowser service and uploaded the files there and mounted the volume to my service. Im using svelte and referencing my files from /static what path should i mount the filebrowser volume to in my project, /app/static ?
4 Replies
Percy
Percy4w ago
Project ID: de3ae3a9-cfe6-4f23-99ef-30770b485488
Fragly
Fragly4w ago
exactly right assuming you're building with nixpacks anyway
{X}avier
{X}avierOP4w ago
de3ae3a9-cfe6-4f23-99ef-30770b485488 yes ive tried to mount and I cannot get these files to load
Fragly
Fragly4w ago
That's strange, my thinking is that you're perhaps not using relative paths? You could try using the environment variable RAILWAY_VOLUME_MOUNT_PATH which would point directly to your volume's mount path, and then if that doesn't work either then it's definitely something funny in your code
Want results from more Discord servers?
Add your server