2 years ago
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 ?
6 Replies
2 years ago
exactly right
2 years ago
assuming you're building with nixpacks anyway
2 years ago
de3ae3a9-cfe6-4f23-99ef-30770b485488
2 years ago
yes
2 years ago
ive tried to mount and I cannot get these files to load
2 years 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