• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

umputun / stash / 19623610874 / 1
83%
master: 83%

Build:
DEFAULT BRANCH: master
Ran 24 Nov 2025 04:45AM UTC
Files 7
Run time 0s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

24 Nov 2025 04:43AM UTC coverage: 83.378% (+0.5%) from 82.852%
19623610874.1

push

github

umputun
feat(server): add base URL support for subpath deployment

add --server.base-url flag for serving stash at a subpath (e.g., /stash).
includes handler wrapping with http.StripPrefix, template URL prefixing,
cookie path configuration, and proper auth redirects.

- add BaseURL to server config and handler() method
- add url() and cookiePath() helpers
- update all templates to use {{.BaseURL}} prefix
- update SessionAuth to accept configurable login URL
- handle __Host- cookie prefix only when baseURL empty
- add unit and integration tests for base URL support

933 of 1119 relevant lines covered (83.38%)

11.76 hits per line

Source Files on job 19623610874.1
  • Tree
  • List 7
  • Changed 4
  • Source Changed 0
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 19623610874
  • dda12e03 on github
  • Prev Job for on master (#19622604620.1)
  • Next Job for on master (#19623723040.1)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc