nuxt / http

Universal HTTP Module for Nuxt.js
https://http.nuxtjs.org
MIT License
229 stars 51 forks source link

fix: remove leading slash when using prefixUrl #96

Closed kevinmarrec closed 4 years ago

kevinmarrec commented 4 years ago

This fix prevents the following error :

image

by gently removing extra leading slash when using prefixUrl.

See : https://github.com/sindresorhus/ky/blob/master/index.js#L226

codecov-io commented 4 years ago

Codecov Report

Merging #96 into dev will not change coverage. The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##              dev      #96   +/-   ##
=======================================
  Coverage   95.83%   95.83%           
=======================================
  Files           1        1           
  Lines          48       48           
  Branches       27       27           
=======================================
  Hits           46       46           
  Misses          2        2           

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update a6026cf...19994de. Read the comment docs.