Browse Source

companion-client: remove version header to avoid block headers against
older companion

Ifedapo Olarewaju 6 years ago
parent
commit
9baca15db3
1 changed files with 1 additions and 3 deletions
  1. 1 3
      packages/@uppy/companion-client/src/RequestClient.js

+ 1 - 3
packages/@uppy/companion-client/src/RequestClient.js

@@ -23,9 +23,7 @@ module.exports = class RequestClient {
   get defaultHeaders () {
     return {
       'Accept': 'application/json',
-      'Content-Type': 'application/json',
-      // @todo remove this hardcoded version
-      'uppy-client': 'companion-client:1.0.2'
+      'Content-Type': 'application/json'
     }
   }