Browse Source

console.log --> uppy.log

Artur Paikin 6 years ago
parent
commit
5d798c6191
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/views/ProviderView/index.js

+ 1 - 1
src/views/ProviderView/index.js

@@ -455,7 +455,7 @@ module.exports = class ProviderView {
     const handleToken = (e) => {
       const allowedOrigin = new RegExp(noProtocol(this.plugin.opts.hostPattern))
       if (!allowedOrigin.test(noProtocol(e.origin)) || e.source !== authWindow) {
-        console.log(`rejecting event from ${e.origin} vs allowed pattern ${this.plugin.opts.hostPattern}`)
+        this.plugin.uppy.log(`rejecting event from ${e.origin} vs allowed pattern ${this.plugin.opts.hostPattern}`)
         return
       }
       authWindow.close()