We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3d751ff commit 8f94f34Copy full SHA for 8f94f34
src/WindowVm.js
@@ -40,10 +40,10 @@ class WorkerVm extends EventTarget {
40
_getFollowUrl(options.args.options.url)
41
.then(followUrl => new Promise((accept, reject) => {
42
const src = window.location.origin +
43
- !options.args.options.url.startsWith('data:') ?
+ (options.args.options.url.startsWith('data:') ?
44
`${window.location.origin}/xr-engine-${Math.random().toString(36).replace(/[^a-z]+/g, '').substr(0, 5)}.html`
45
:
46
- options.args.options.url.replace(/^[a-z]+:\/\/[a-zA-Z0-9\-\.]+(?::[0-9]+)?/, '');
+ options.args.options.url.replace(/^[a-z]+:\/\/[a-zA-Z0-9\-\.]+(?::[0-9]+)?/, ''));
47
const dst = `\
48
<!doctype html>
49
<html>
0 commit comments