Skip to content

Commit 56615c2

Browse files
save file
1 parent 197915c commit 56615c2

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

libs/js/external/openssl/openssl.js

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
/* eslint-disable */ var EmscrJSR_openssl = (url => {
1+
/* eslint-disable */ var EmscrJSR_openssl = (() => {
22
var _scriptName =
33
typeof document != 'undefined'
44
? document.currentScript?.src
5-
: url;
5+
: undefined;
66
return async function (moduleArg = {}) {
77
var moduleRtn;
88
var Module = moduleArg;
@@ -15,6 +15,9 @@
1515
throw toThrow;
1616
};
1717
var scriptDirectory = '';
18+
if(moduleArg.url){
19+
_scriptName = moduleArg.url;
20+
}
1821
function locateFile(path) {
1922
if (Module['locateFile']) {
2023
return Module['locateFile'](path, scriptDirectory);

0 commit comments

Comments
 (0)