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