rkazakov / ampify

Convert your HTML to Google AMP (Accelerated Mobile Pages)
MIT License
109 stars 32 forks source link

request's signature changed #30

Closed ion-willo closed 2 years ago

ion-willo commented 5 years ago

After upgrading packages we started receiving: Error: Invalid URI "GET"

Managed to find this on line 105: const response = request('GET', imageUrl);

Turns out response now only wants the URI.

Changing line 105 to const response = request(imageUrl);

Works.

rkazakov commented 2 years ago

Replaced with axios.