Nyn
Nyn
RRailway
Created by Nyn on 11/17/2024 in #✋|help
Volumes
Yeah solved it eventually, the issue i was facing was that the images I was uploading was so small that the metrics didn't seem to detect them being uploaded. Uploaded some bigger ones and got some reaction 🙂
14 replies
RRailway
Created by Nyn on 11/17/2024 in #✋|help
Volumes
or does this backend code need to reflect the app/uploads bit? i feel like the documentation isn't super clear, or I might not understand it fully 😄
const uploadsDir = path.join(process.cwd(), "/uploads");
if (!fs.existsSync(uploadsDir)) {
fs.mkdirSync(uploadsDir, { recursive: true });
}
const uploadsDir = path.join(process.cwd(), "/uploads");
if (!fs.existsSync(uploadsDir)) {
fs.mkdirSync(uploadsDir, { recursive: true });
}
`
14 replies
RRailway
Created by Nyn on 11/17/2024 in #✋|help
Volumes
My code generates urls like such: https://exarbete-production.up.railway.app/uploads/eventImage-1731874140525-205047834.jpg just trying to figure out if this has actually ended up in persistent storage or not 😄
14 replies
RRailway
Created by Nyn on 11/17/2024 in #✋|help
Volumes
Is there a way to check the contents of the volume so that I know something has been uploaded there ? New to railway and trying to see if it makes sense on a client project 🙂
14 replies
RRailway
Created by Nyn on 11/17/2024 in #✋|help
Volumes
so would it be /app/uploads ? 🙂
14 replies
RRailway
Created by Nyn on 11/17/2024 in #✋|help
Volumes
8c169380-53e9-4de5-a5f1-b56cefe00ebb
14 replies
RRailway
Created by Nyn on 11/5/2024 in #✋|help
DBGate and connecting to MySql Db
No description
11 replies
RRailway
Created by Nyn on 11/5/2024 in #✋|help
DBGate and connecting to MySql Db
That only works for postgres, alternative doesnt seem to be available for mysql 🙂
11 replies
RRailway
Created by Nyn on 11/5/2024 in #✋|help
DBGate and connecting to MySql Db
No description
11 replies
RRailway
Created by Nyn on 11/5/2024 in #✋|help
DBGate and connecting to MySql Db
8c169380-53e9-4de5-a5f1-b56cefe00ebb
11 replies