|
|
@ -116,13 +116,7 @@ exports.serveComponentLibrary = async function(ctx) { |
|
|
componentLib += `-${COMP_LIB_BASE_APP_VERSION}` |
|
|
componentLib += `-${COMP_LIB_BASE_APP_VERSION}` |
|
|
} |
|
|
} |
|
|
const S3_URL = encodeURI( |
|
|
const S3_URL = encodeURI( |
|
|
join( |
|
|
join(objectStoreUrl(), componentLib, ctx.query.library, "dist", "index.js") |
|
|
objectStoreUrl(), |
|
|
|
|
|
componentLib, |
|
|
|
|
|
ctx.query.library, |
|
|
|
|
|
"dist", |
|
|
|
|
|
"index.js" |
|
|
|
|
|
) |
|
|
|
|
|
) |
|
|
) |
|
|
const response = await fetch(S3_URL) |
|
|
const response = await fetch(S3_URL) |
|
|
const body = await response.text() |
|
|
const body = await response.text() |
|
|
|