godprotocol 2.2.80 → 2.2.81
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Godprotocol.js +1 -1
- package/package.json +1 -1
- package/server/Routable/Header.js +1 -1
package/Godprotocol.js
CHANGED
|
@@ -25,7 +25,7 @@ class GodProtocol {
|
|
|
25
25
|
|
|
26
26
|
add_router = async (version, routes, opts = {}) => {
|
|
27
27
|
if (opts.is_old) {
|
|
28
|
-
await this.route_table.init_version(
|
|
28
|
+
await this.route_table.init_version(version, { is_old: true });
|
|
29
29
|
this.route_table.versions[version].routes = routes;
|
|
30
30
|
return;
|
|
31
31
|
}
|
package/package.json
CHANGED
|
@@ -176,7 +176,7 @@ class Headers extends Services {
|
|
|
176
176
|
|
|
177
177
|
let third_party = xplatform === this.platform_uri;
|
|
178
178
|
let res = await fetch(
|
|
179
|
-
`${gp_services.profile}/${third_party ? "
|
|
179
|
+
`${gp_services.profile}/${third_party ? "third_party_me" : "me"}`,
|
|
180
180
|
{
|
|
181
181
|
method: "post",
|
|
182
182
|
headers: {
|