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

cybertec-postgresql / pgwatch / 19888319322
74%

Build:
DEFAULT BRANCH: master
Ran 03 Dec 2025 09:12AM UTC
Jobs 1
Files 42
Run time 1min
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

03 Dec 2025 09:06AM UTC coverage: 73.615% (-0.03%) from 73.648%
19888319322

push

github

web-flow
[+] add support for reverse proxies on a different path, closes #1049 (#1063)

* add support for reverse proxies on a different path, closes #1049

Users can now configure pgwatch to run under a custom path
(e.g., http::/example.com/pgwatch) when behind a reverse proxy like
Apache or Nginx.

- add `--web-base-path` flag to specify custom path prefix
- all API endpoints and static assets respect the configured base path
- inject `<base>` tag and React Router `basename` dynamically at runtime
- set `homepage: "."` in `package.json` for relative asset paths

Example usage:
  pgwatch --web-base-path=pgwatch --web-addr=:8080

Then configure reverse proxy to forward `/pgwatch/*` to
`localhost:8080/pgwatch/*`

* Put the WebSocket config into the example config

The WebSocket proxy needs to come before the general proxy.

* The config is no longer "above"

* Build frontend to `/webserver/build` and use `//go:embed` directly
in `webserver.go`

* make linter happy and remove webui go package

* fix "Download webui artifact" step

---------

Co-authored-by: Christoph Berg <myon@debian.org>
Co-authored-by: Denys Holub <holub.denys20@gmail.com>

119 of 130 new or added lines in 6 files covered. (91.54%)

3694 of 5018 relevant lines covered (73.61%)

0.84 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
97.69
0.0% internal/webserver/source.go
2
95.62
0.0% internal/webserver/metric.go
8
94.52
-5.48% internal/webserver/webserver.go
Jobs
ID Job ID Ran Files Coverage
1 19888319322.1 03 Dec 2025 09:12AM UTC 42
73.61
GitHub Action Run
Source Files on build 19888319322
  • Tree
  • List 42
  • Changed 6
  • Source Changed 6
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #19888319322
  • 03d4c7df on github
  • Prev Build on master (#19859656383)
  • Next Build on master (#19888558940)
  • Delete
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