diff options
| author | Shulhan <ms@kilabit.info> | 2021-12-25 12:54:30 +0700 |
|---|---|---|
| committer | Shulhan <ms@kilabit.info> | 2021-12-25 12:54:30 +0700 |
| commit | 28d4055fd24a09808e91ff2c7e0f6fd2d2b9a1c2 (patch) | |
| tree | 8de090d7556f223543228f1cdc390d5861ec8f4e /_www | |
| parent | 51af8aca85c8b2a264d99d3929b4259aa4717e7a (diff) | |
| download | rescached-28d4055fd24a09808e91ff2c7e0f6fd2d2b9a1c2.tar.xz | |
www: fix caches record type showing "undefined"
Due to refactoring on DNS library, we forgot to rename the field QType
to RType on the frontend. This cause the record type on caches showed
on the page as "undefined".
Diffstat (limited to '_www')
| -rw-r--r-- | _www/index.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/_www/index.html b/_www/index.html index 1141e2f..270e00e 100644 --- a/_www/index.html +++ b/_www/index.html @@ -20,7 +20,7 @@ overflow: auto; font-family: monospace; } - .QType { + .RType { width: 3em; display: inline-block; } @@ -183,7 +183,7 @@ out += ` <div class="cache"> <span class="AccessedAt">${dateFmt.format(new Date(answer.AccessedAt * 1000))}</span> - <span class="QType">${resc.GetRRTypeName(answer.QType)}</span> + <span class="RType">${resc.GetRRTypeName(answer.RType)}</span> <span class="QName">${answer.QName}</span> </div>` } |
