mirror of
https://codeberg.org/ashley/poke
synced 2025-04-05 17:17:59 +00:00
use Object.entries
This commit is contained in:
parent
bdec2c7517
commit
bbf52f0cd3
@ -218,7 +218,7 @@ module.exports = function (app, config, renderTemplate) {
|
|||||||
let continuation = req.query.continuation || "";
|
let continuation = req.query.continuation || "";
|
||||||
|
|
||||||
try {
|
try {
|
||||||
const results = web;
|
const results = Object.entries(web);
|
||||||
|
|
||||||
renderTemplate(res, req, "search-web.ejs", {
|
renderTemplate(res, req, "search-web.ejs", {
|
||||||
j: "",
|
j: "",
|
||||||
|
Loading…
Reference in New Issue
Block a user