mirror of
https://github.com/MercuryWorkshop/scramjet.git
synced 2025-05-14 23:10:02 -04:00
Disable threading for now, add locationProxy.host as an *empty string*, it will get overriden later, but TS doesn't know that.
This commit is contained in:
parent
d433f67d67
commit
f42274d5ce
2 changed files with 6 additions and 2 deletions
|
@ -11,7 +11,9 @@ function createLocation() {
|
|||
return loc;
|
||||
}
|
||||
|
||||
export const locationProxy = new Proxy({}, {
|
||||
export const locationProxy = new Proxy({
|
||||
host: ""
|
||||
}, {
|
||||
get(target, prop) {
|
||||
const loc = createLocation();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue