Selaa lähdekoodia

Update Provider.js

Kevin van Zonneveld 6 vuotta sitten
vanhempi
commit
713ba1c283
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  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) {