Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
Atemndobs committed Mar 20, 2023
1 parent 6647770 commit e4affd0
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 81 deletions.
6 changes: 3 additions & 3 deletions .env
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PORT="3000"
NODE_ENV="development"
SONG_BASE_URL="http://mage.tech:8899"
SONG_BASE_URL_DOCKER="http://nginx"
SONG_BASE_URL_PROD="https://141.95.67.178:32100"
SONG_BASE_URL_DOCKER="http://141.95.67.178:8899"
SONG_BASE_URL_PROD="http://141.95.67.178:8899"
S3_BUCKET="curator"
S3_URL="http://192.168.178.174:9000" # minio
S3_URL="http://192.168.178.174:9000" # minio
11 changes: 9 additions & 2 deletions src/app.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,14 @@ export class AppService {
base_url = process.env.SONG_BASE_URL_DOCKER
}

this.logger.debug([base_url, id, path, url, home, pwd])
this.logger.debug({
base_url,
id,
path,
url,
home,
pwd
})
console.log("BEFORE CONVERTING=====================================================================BEFORE CONVERTING")

if (! this.checkFileType(track)){
Expand All @@ -73,7 +80,7 @@ export class AppService {
}
});
newUrl.end(function (err,code,signal) {
self.logger.debug({err})
self.logger.debug({err,})
console.log('The exit code was: ' + code);
console.log('The exit signal was: ' + signal);
console.log('finished');
Expand Down
76 changes: 0 additions & 76 deletions src/server.js

This file was deleted.

0 comments on commit e4affd0

Please sign in to comment.