Skip to content

Commit a5b8e48

Browse files
committed
removed some comments
1 parent 7f8ff3f commit a5b8e48

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

lib/ldp.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,6 @@ class LDP {
137137
}
138138

139139
async post (hostname, containerPath, stream, { container, slug, extension, contentType }) {
140-
console.log('container:', container)
141140
// POST without content type is forbidden
142141
if (!contentType) {
143142
throw error(400,
@@ -157,11 +156,8 @@ class LDP {
157156
if (container) {
158157
// the name of a container cannot be a valid auxiliary resource document
159158
while (this._containsInvalidSuffixes(slug + '/')) {
160-
console.log('splitting slug', slug)
161-
// slug = slug.split('.')[0]
162159
const idx = slug.lastIndexOf('.')
163160
slug = slug.substr(0, idx)
164-
console.log('new slug', slug)
165161
}
166162
} else if (this.isAuxResource(slug, extension)) throw error(403, 'POST is not allowed for auxiliary resources')
167163

0 commit comments

Comments
 (0)