anz-bank / sysl-catalog

sysl-catalog (no, not catalogue): A static site generator for web service documentation
https://demo.sysl.io/
Apache License 2.0
7 stars 7 forks source link

Replace r.Requesturi with request.path so that http.stripprefix can b… #199

Closed joshcarp closed 4 years ago

joshcarp commented 4 years ago

…e used

Fixes #

Changes proposed in this pull request:

Changes r.RequestURI for r.URL.Path so that http.Stripprefix can be used in different contexts

codecov[bot] commented 4 years ago

Codecov Report

Merging #199 into master will not change coverage. The diff coverage is 0.00%.

@@           Coverage Diff           @@
##           master     #199   +/-   ##
=======================================
  Coverage   54.48%   54.48%           
=======================================
  Files           6        6           
  Lines         936      936           
=======================================
  Hits          510      510           
  Misses        367      367           
  Partials       59       59           
Impacted Files Coverage Δ
pkg/catalog/server.go 0.00% <0.00%> (ø)
github-actions[bot] commented 4 years ago

This pull request is being automatically deployed to Netlify.

🔍 Logs: https://app.netlify.com/sites/lucid-franklin-43e899/deploys/5f34f3d322cc25c10403c4fc ✅ Preview: https://5f34f3d322cc25c10403c4fc--lucid-franklin-43e899.netlify.app