This commit is contained in:
Adria Navarro 2024-10-22 17:58:51 +02:00
parent 7124a754f1
commit 91e3c87a9c
1 changed files with 2 additions and 2 deletions

View File

@ -268,8 +268,8 @@ export const serveClientLibrary = async function (ctx: Ctx) {
ctx.throw(400, "No app ID provided - cannot fetch client library.") ctx.throw(400, "No app ID provided - cannot fetch client library.")
} }
const serverLocally = shouldServeLocally(version || "") const serveLocally = shouldServeLocally(version || "")
if (!serverLocally) { if (!serveLocally) {
ctx.body = await objectStore.getReadStream( ctx.body = await objectStore.getReadStream(
ObjectStoreBuckets.APPS, ObjectStoreBuckets.APPS,
objectStore.clientLibraryPath(appId!) objectStore.clientLibraryPath(appId!)