Don't log ws messages (because they may have confidential info)
This commit is contained in:
parent
51da40b8b0
commit
3e73b04725
1 changed files with 0 additions and 2 deletions
|
@ -134,7 +134,6 @@ app.get('/api', (req, res) => {
|
|||
|
||||
app.ws('/ws/fetch-medium', (ws, req) => {
|
||||
ws.on('message', async(msg) => {
|
||||
console.log(`We got: ${msg}`)
|
||||
|
||||
command = msg.split(' ')
|
||||
if (command.length == 3 && command[0] == 'fetch') {
|
||||
|
@ -185,7 +184,6 @@ app.ws('/ws/fetch-medium', (ws, req) => {
|
|||
|
||||
app.ws('/ws/push-ghost', (ws, req) => {
|
||||
ws.on('message', async(msg) => {
|
||||
console.log(`We got: ${msg}`)
|
||||
|
||||
command = msg.split(' ')
|
||||
if (command.length == 3 && command[0] == 'push') {
|
||||
|
|
Loading…
Reference in a new issue