Skip to content

Commit

Permalink
Fix proxy server for development
Browse files Browse the repository at this point in the history
  • Loading branch information
netpro2k committed Oct 13, 2021
1 parent abcd17f commit f337830
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .env.defaults
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ HUBS_SERVER="dev.reticulum.io"
RETICULUM_SERVER="dev.reticulum.io"
THUMBNAIL_SERVER="nearspark-dev.reticulum.io"
NON_CORS_PROXY_DOMAINS="hubs.local,localhost"
CORS_PROXY_SERVER="cors-proxy-dev.reticulum.io"
CORS_PROXY_SERVER="hubs-proxy.com"
GITHUB_ORG="mozilla"
GITHUB_REPO="spoke"
GITHUB_PUBLIC_TOKEN="de8cbfb4cc0281c7b731c891df431016c29b0ace"
Expand Down
2 changes: 1 addition & 1 deletion .env.test
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@ HUBS_SERVER="dev.reticulum.io"
RETICULUM_SERVER="dev.reticulum.io"
FARSPARK_SERVER="farspark-dev.reticulum.io"
NON_CORS_PROXY_DOMAINS="hubs.local,localhost"
CORS_PROXY_SERVER="cors-proxy-dev.reticulum.io"
CORS_PROXY_SERVER="hubs-proxy.com"
HOST_PORT="9090"
IS_MOZ="false"
5 changes: 4 additions & 1 deletion src/editor/Editor.js
Original file line number Diff line number Diff line change
Expand Up @@ -473,7 +473,10 @@ export default class Editor extends EventEmitter {
typeof property === "object" &&
Object.prototype.hasOwnProperty.call(property, "__gltfIndexForUUID")
) {
component[propertyName] = uuidToIndexMap[property.__gltfIndexForUUID];
component[propertyName] = {
__mhc_link_type: "node",
index: uuidToIndexMap[property.__gltfIndexForUUID]
};
}
}
}
Expand Down

0 comments on commit f337830

Please sign in to comment.