Skip to content

Commit cdbe6e8

Browse files
committed
cleanups
1 parent 254d4d9 commit cdbe6e8

2 files changed

Lines changed: 0 additions & 7 deletions

File tree

src/components/httpRoutes/provider.ts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -227,18 +227,13 @@ providerRoutes.get(
227227

228228
if (response.stream) {
229229
res.status(response.status.httpStatus)
230-
HTTP_LOGGER.logMessage(
231-
`Headers: ${JSON.stringify(response.status.headers)}`,
232-
true
233-
)
234230

235231
const safeHeaders = { ...response.status.headers }
236232
if (safeHeaders['content-length'] && safeHeaders['Transfer-Encoding']) {
237233
delete safeHeaders['content-length']
238234
}
239235

240236
res.set(safeHeaders)
241-
HTTP_LOGGER.logMessage(`Sanitized Headers: ${JSON.stringify(safeHeaders)}`, true)
242237
response.stream.pipe(res)
243238
} else {
244239
res.status(response.status.httpStatus).send(response.status.error)

src/components/storage/index.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,6 @@ export abstract class Storage {
6363
config: OceanNodeConfig
6464
): UrlStorage | IpfsStorage | ArweaveStorage {
6565
const { type } = file
66-
console.log('Storage type:', type)
67-
console.log('Storage file:', file)
6866
switch (
6967
type?.toLowerCase() // case insensitive
7068
) {

0 commit comments

Comments
 (0)