diff --git a/core/app.js b/core/app.js index 061a2f3d..c59737be 100644 --- a/core/app.js +++ b/core/app.js @@ -111,7 +111,6 @@ exports.app_socket = async function socket(request, response) { let packageName; let blobId; let match; - let parentApp; if ( (match = /^\/([&%][^\.]{44}(?:\.\w+)?)(\/?.*)/.exec(message.path)) ) { @@ -132,13 +131,6 @@ exports.app_socket = async function socket(request, response) { ); return; } - if (packageOwner != 'core') { - let coreId = await new Database('core').get('path:' + packageName); - parentApp = { - path: '/~core/' + packageName + '/', - id: coreId, - }; - } } response.send( JSON.stringify( @@ -146,7 +138,6 @@ exports.app_socket = async function socket(request, response) { { action: 'session', credentials: credentials, - parentApp: parentApp, id: blobId, }, await ssb_internal.getIdentityInfo( diff --git a/src/httpd.app.c b/src/httpd.app.c index 96e20523..f21999dc 100644 --- a/src/httpd.app.c +++ b/src/httpd.app.c @@ -256,10 +256,8 @@ static void _httpd_app_hello_work(tf_ssb_t* ssb, void* user_data) char blob_id[k_id_base64_len] = { 0 }; tf_httpd_user_app_t* user_app = tf_httpd_parse_user_app_from_path(work->path, NULL); - tf_printf("path = %s\n", work->path); if (user_app) { - tf_printf("user = %s app = %s\n", user_app->user, user_app->app); size_t length = strlen("path:") + strlen(user_app->app) + 1; char* key = alloca(length); snprintf(key, length, "path:%s", user_app->app);