mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2024-11-14 14:07:38 -07:00
Use dot
This commit is contained in:
parent
a44030bff2
commit
4574cc2923
2 changed files with 2 additions and 2 deletions
|
@ -20,7 +20,7 @@
|
|||
|
||||
<div class="nqjzuvev">
|
||||
<code v-for="log in logs" :key="log._id" :class="log.level">
|
||||
<mk-time :time="log.createdAt"/> [{{ log.domain.join(' ') }}] {{ log.message }}
|
||||
<mk-time :time="log.createdAt"/> [{{ log.domain.join('.') }}] {{ log.message }}
|
||||
</code>
|
||||
</div>
|
||||
</section>
|
||||
|
|
|
@ -35,7 +35,7 @@ export default define(meta, async (ps) => {
|
|||
if (ps.level) query.level = ps.level;
|
||||
if (ps.domain) {
|
||||
let i = 0;
|
||||
for (const d of ps.domain.split(' ')) {
|
||||
for (const d of ps.domain.split('.')) {
|
||||
query[`domain.${i}`] = d;
|
||||
i++;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue