diff --git a/cmd/clitest/public/transactions.html b/cmd/clitest/public/transactions.html
index 7d1699b..78ed079 100644
--- a/cmd/clitest/public/transactions.html
+++ b/cmd/clitest/public/transactions.html
@@ -17,10 +17,11 @@
}
function callback(responseBody, responseStatus) {
}
- var f = String(window.location).split("/transactions")[1]
+ var f = String(window.location).split("/transactions.html")[1]
if (!f) {
- f = "./moolah.dat"
+ f = "/moolah.dat"
}
+ f = "." + f
function init() {
load(f)
}
@@ -68,12 +69,13 @@