Explorar o código

Update Provider.js

Kevin van Zonneveld %!s(int64=6) %!d(string=hai) anos
pai
achega
713ba1c283
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      packages/@uppy/companion-client/src/Provider.js

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

@@ -75,7 +75,7 @@ module.exports = class Provider extends RequestClient {
     }
 
     if (opts.serverUrl || opts.serverPattern) {
-      throw new Error('`serverUrl` and `serverPattern` have been renamed to `companionUrl` and `companionAllowedHosts` respectively in 0.30.5 release. Please consult the docs (for example, https://uppy.io/docs/instagram/ for Instagram plugin) and use the updated options.`')
+      throw new Error('`serverUrl` and `serverPattern` have been renamed to `companionUrl` and `companionAllowedHosts` respectively in the 0.30.5 release. Please consult the docs (for example, https://uppy.io/docs/instagram/ for the Instagram plugin) and use the updated options.`')
     }
 
     if (opts.companionAllowedHosts) {