diff options
Diffstat (limited to 'src/loadlib.js')
| -rw-r--r-- | src/loadlib.js | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/src/loadlib.js b/src/loadlib.js index 7458704..7562cea 100644 --- a/src/loadlib.js +++ b/src/loadlib.js @@ -100,7 +100,7 @@ if (!WEB) {      readable = function(filename) {          /* TODO: do a GET and store it somewhere to avoid doing two roundtrips ? */          let xhr = new XMLHttpRequest(); -        xhr.open("HEAD", filename, false); +        xhr.open("HEAD", lua.to_jsstring(filename), false);          xhr.send();          /* TODO: subresource integrity check? */  | 
