Adding mimetype for client library response (correcting from octet-stream).
This commit is contained in:
parent
80aa6fa62b
commit
9983d67163
|
@ -206,6 +206,7 @@ export const serveClientLibrary = async function (ctx: Ctx) {
|
|||
ObjectStoreBuckets.APPS,
|
||||
objectStore.clientLibraryPath(appId!)
|
||||
)
|
||||
ctx.set("Content-Type", "application/javascript")
|
||||
} else if (env.isDev()) {
|
||||
// incase running from TS directly
|
||||
const tsPath = join(require.resolve("@budibase/client"), "..")
|
||||
|
|
Loading…
Reference in New Issue