mirror of
https://github.com/versia-pub/frontend.git
synced 2025-12-06 16:38:20 +01:00
26 lines
1.2 KiB
TypeScript
26 lines
1.2 KiB
TypeScript
const art = `
|
|
|
|
██╗ ██╗███████╗██████╗ ███████╗██╗ █████╗
|
|
██║ ██║██╔════╝██╔══██╗██╔════╝██║██╔══██╗
|
|
██║ ██║█████╗ ██████╔╝███████╗██║███████║
|
|
╚██╗ ██╔╝██╔══╝ ██╔══██╗╚════██║██║██╔══██║
|
|
╚████╔╝ ███████╗██║ ██║███████║██║██║ ██║
|
|
╚═══╝ ╚══════╝╚═╝ ╚═╝╚══════╝╚═╝╚═╝ ╚═╝
|
|
|
|
* Hello from the Versia development team!
|
|
* If you are seeing this, we may need your help!
|
|
* Join development at https://github.com/versia-pub
|
|
*
|
|
* With ❤️ from us:
|
|
* - @jessew@beta.versia.social
|
|
`;
|
|
|
|
export default defineNitroPlugin((nitroApp) => {
|
|
nitroApp.hooks.hook("render:response", (ctx) => {
|
|
ctx.body = ctx.body.replace(
|
|
"<!DOCTYPE html>",
|
|
`<!DOCTYPE html>\n<!--${art}-->\n`,
|
|
);
|
|
});
|
|
});
|