Use relative URLs throughout the UI
To allow serving from a subdirectory using a reverse proxy.
This commit is contained in:
1 parent
c2c24f5c24
commit
5a9e03db2c
12 files changed
+30
-30
No files matched your search
@@ -49,7 +49,7 @@ function drawChart(chartData): Children {
|
||||
m(
|
||||
"a",
|
||||
{
|
||||
href: `/#!/devices/?${m.buildQueryString({
|
||||
href: `#!/devices/?${m.buildQueryString({
|
||||
filter: memoizedStringify(slice["filter"])
|
||||
})}`
|
||||
},
|
||||
@@ -89,7 +89,7 @@ function drawChart(chartData): Children {
|
||||
m(
|
||||
"a",
|
||||
{
|
||||
"xlink:href": `/#!/devices/?${m.buildQueryString({
|
||||
"xlink:href": `#!/devices/?${m.buildQueryString({
|
||||
filter: memoizedStringify(slice["filter"])
|
||||
})}`
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user