Skip to content

Commit

Permalink
fix: explicitly use window.OC global in app config
Browse files Browse the repository at this point in the history
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
  • Loading branch information
st3iny authored and backportbot[bot] committed Jun 14, 2024
1 parent a246907 commit 9d08bfb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/appConfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ export const createAppConfig = (entries: { [entryAlias: string]: string }, optio
}
return {
// already contains the "js/" prefix as it is our output file configuration
runtime: `OC.filePath('${appName}', '', '${filename}')`,
runtime: `window.OC.filePath('${appName}', '', '${filename}')`,
}
},
},
Expand Down

0 comments on commit 9d08bfb

Please sign in to comment.