Skip to content

Commit 79e8f41

Browse files
authored
Merge pull request #198 from nextcloud-libraries/backport/197/stable1
[stable1] fix: explicitly use window.OC global in app config
2 parents a246907 + 9d08bfb commit 79e8f41

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/appConfig.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ export const createAppConfig = (entries: { [entryAlias: string]: string }, optio
127127
}
128128
return {
129129
// already contains the "js/" prefix as it is our output file configuration
130-
runtime: `OC.filePath('${appName}', '', '${filename}')`,
130+
runtime: `window.OC.filePath('${appName}', '', '${filename}')`,
131131
}
132132
},
133133
},

0 commit comments

Comments
 (0)