diff options
author | Austin S. Hemmelgarn <austin@netdata.cloud> | 2020-04-24 07:11:30 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-24 07:11:30 -0400 |
commit | d34f3ce1fc3fe6bdd46002311bd41a628a79717b (patch) | |
tree | 06d2026aac064b52843b7f29d7c0cd853bc82c02 /contrib/debian/rules | |
parent | 8eb9278aa8b9d57b09e74266d1cc2d4b2ffa6f69 (diff) |
Use a prefix for the old dashboard. (#8752)
* Use a prefix for the old dashboard.
This switches the code for handling of the new React dashboard to use a
prefix for accessing the old dashboard instead of relying on a switching
script to handle selecting the desired dashboard implementation.
It also adds proper support to the packaging code to bundle the React
dashboard.
* Fixed typos in web/gui/Makefile.am.
* Tidy up prefixed dashboard.
This is based on discussion with cakrit about how to handle this more
sanely.
* use /old suffix for streamed nodes links in dropdown menu
* fix fetching dynamic vendor files with /old suffix
Co-authored-by: Jacek Kolasa <jacek.kolasa@gmail.com>
Diffstat (limited to 'contrib/debian/rules')
-rwxr-xr-x | contrib/debian/rules | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/contrib/debian/rules b/contrib/debian/rules index bd545b698e..f18734d630 100755 --- a/contrib/debian/rules +++ b/contrib/debian/rules @@ -72,6 +72,7 @@ override_dh_install: debian/netdata.postinst # Move files that local user shouldn't be editing to /usr/share/netdata # + packaging/bundle-dashboard.sh . ${TOP}/var/lib/netdata/www mkdir -p "$(TOP)/usr/share/netdata/www" for D in $$(find "$(TOP)/var/lib/netdata/www/" -maxdepth 1 -type d -printf '%f '); do \ echo Relocating $$D; \ |