From a5b8e4860f34081182084aeeb7298a82dd3413aa Mon Sep 17 00:00:00 2001 From: zg009 Date: Fri, 29 Mar 2024 13:51:26 -0500 Subject: [PATCH] removed some comments --- lib/ldp.js | 4 ---- 1 file changed, 4 deletions(-) diff --git a/lib/ldp.js b/lib/ldp.js index 2c4e849f..13ec6b0f 100644 --- a/lib/ldp.js +++ b/lib/ldp.js @@ -137,7 +137,6 @@ class LDP { } async post (hostname, containerPath, stream, { container, slug, extension, contentType }) { - console.log('container:', container) // POST without content type is forbidden if (!contentType) { throw error(400, @@ -157,11 +156,8 @@ class LDP { if (container) { // the name of a container cannot be a valid auxiliary resource document while (this._containsInvalidSuffixes(slug + '/')) { - console.log('splitting slug', slug) - // slug = slug.split('.')[0] const idx = slug.lastIndexOf('.') slug = slug.substr(0, idx) - console.log('new slug', slug) } } else if (this.isAuxResource(slug, extension)) throw error(403, 'POST is not allowed for auxiliary resources')