summaryrefslogtreecommitdiffstats
path: root/webapp
diff options
context:
space:
mode:
authorUdo Walter2019-03-27 16:34:54 +0100
committerUdo Walter2019-03-27 16:34:54 +0100
commitded2a87bfc3ab6913fd1e7d639f6bc2eaab3098b (patch)
tree4c77f164f36aeff02fae54d61a231ea2f7d63a71 /webapp
parent[log] add filter functionality (diff)
downloadbas-ded2a87bfc3ab6913fd1e7d639f6bc2eaab3098b.tar.gz
bas-ded2a87bfc3ab6913fd1e7d639f6bc2eaab3098b.tar.xz
bas-ded2a87bfc3ab6913fd1e7d639f6bc2eaab3098b.zip
rename api log to systemlog to prevent adblocker blocking it
Diffstat (limited to 'webapp')
-rw-r--r--webapp/src/components/LogModule.vue2
1 files changed, 1 insertions, 1 deletions
diff --git a/webapp/src/components/LogModule.vue b/webapp/src/components/LogModule.vue
index 6208934..dde9975 100644
--- a/webapp/src/components/LogModule.vue
+++ b/webapp/src/components/LogModule.vue
@@ -293,7 +293,7 @@ export default {
if (this.clientFilter.length) queries.push('clients=' + this.clientFilter.map(x => x.id).join(','))
if (this.groupFilter.length) queries.push('groups=' + this.groupFilter.map(x => x.id).join(','))
if (this.userFilter.length) queries.push('users=' + this.userFilter.map(x => x.id).join(','))
- const url = '/api/log' + (queries.length ? '?' + queries.join('&') : '')
+ const url = '/api/systemlog' + (queries.length ? '?' + queries.join('&') : '')
this.$http.get(url).then(response => {
response.data.forEach(item => {
item.timestamp = this.formatDate(new Date(item.timestamp * 1000))