2024-07-21 22:09:11 +02:00
|
|
|
|
const art = `
|
|
|
|
|
|
|
2024-08-28 00:23:29 +02:00
|
|
|
|
██╗ ██╗███████╗██████╗ ███████╗██╗ █████╗
|
|
|
|
|
|
██║ ██║██╔════╝██╔══██╗██╔════╝██║██╔══██╗
|
|
|
|
|
|
██║ ██║█████╗ ██████╔╝███████╗██║███████║
|
|
|
|
|
|
╚██╗ ██╔╝██╔══╝ ██╔══██╗╚════██║██║██╔══██║
|
|
|
|
|
|
╚████╔╝ ███████╗██║ ██║███████║██║██║ ██║
|
|
|
|
|
|
╚═══╝ ╚══════╝╚═╝ ╚═╝╚══════╝╚═╝╚═╝ ╚═╝
|
2024-07-21 22:09:11 +02:00
|
|
|
|
|
2024-08-28 00:23:29 +02:00
|
|
|
|
* Hello from the Versia development team!
|
2024-07-21 22:09:11 +02:00
|
|
|
|
* If you are seeing this, we may need your help!
|
2024-08-28 00:23:29 +02:00
|
|
|
|
* Join development at https://github.com/versia-pub
|
2024-07-21 22:09:11 +02:00
|
|
|
|
*
|
|
|
|
|
|
* With ❤️ from us:
|
|
|
|
|
|
* - @jessew@social.lysand.org
|
|
|
|
|
|
* - @aprl@social.lysand.org
|
|
|
|
|
|
* - @graphite@social.lysand.org
|
|
|
|
|
|
`;
|
|
|
|
|
|
|
|
|
|
|
|
export default defineNitroPlugin((nitroApp) => {
|
|
|
|
|
|
nitroApp.hooks.hook("render:response", (ctx) => {
|
|
|
|
|
|
ctx.body = ctx.body.replace(
|
|
|
|
|
|
"<!DOCTYPE html>",
|
|
|
|
|
|
`<!DOCTYPE html>\n<!--${art}-->\n`,
|
|
|
|
|
|
);
|
|
|
|
|
|
});
|
|
|
|
|
|
});
|