@indiekit/indiekit
Version:
The little server that connects your website to the independent web
15 lines (13 loc) • 347 B
JavaScript
export const viewStatus = (request, response) => {
const { scope } = request.app.locals;
response.render("status", {
title: response.locals.__("status.title"),
scope: scope?.split(" "),
actions: [
{
text: response.locals.__("status.application.installedPlugins"),
href: "/plugins/",
},
],
});
};