import * as configFunctions from "../../helpers/functions.config.js"; export const handler = (_request, response) => { if (!configFunctions.getProperty("application.ntfyStartup")) { return response.redirect(configFunctions.getProperty("reverseProxy.urlPrefix") + "/dashboard/?error=ntfyNotConfigured"); } response.render("admin-ntfyStartup", { headTitle: "Ntfy Startup Notification" }); }; export default handler;