Commit a11f4a82 authored by Robert Knight's avatar Robert Knight

Adjust a variable name

`uorigin` is un-idiomatic naming in our codebase, though the meaning was
fairly obvious in context.
parent 7a0131b3
......@@ -64,8 +64,8 @@ export class RPC {
if (origin === '*') {
this.origin = '*';
} else {
const uorigin = new URL(origin);
this.origin = uorigin.protocol + '//' + uorigin.host;
const url = new URL(origin);
this.origin = url.protocol + '//' + url.host;
}
this._sequence = 0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment