From 2f270382978a907af88c832e80abecb3e1cc5949 Mon Sep 17 00:00:00 2001 From: martbost Date: Sun, 6 Sep 2026 09:51:43 -0500 Subject: [PATCH] DO Spaces enabled: namespace IAP video uploads under iap-uploads/ in the shared media bucket Co-Authored-By: Claude Fable 5 --- server.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server.js b/server.js index c1a2150..cf0274b 100644 --- a/server.js +++ b/server.js @@ -861,7 +861,7 @@ const server = http.createServer(async (req, res) => { // images stay local. Falls back to the volume if Spaces isn't set or errors. if (isVideo && spaces.enabled()) { try { - const url = await spaces.put('uploads/' + name, buf, ct); + const url = await spaces.put('iap-uploads/' + name, buf, ct); return json(res, 200, { url, type: 'video' }); } catch (e) { console.error('spaces put', e.message); /* fall through to volume */ } }