rename index.ejs to homepage.ejs

This commit is contained in:
Andre Staltz 2023-06-06 14:24:11 +03:00
parent e6e65df94e
commit 99dda683b6
No known key found for this signature in database
GPG Key ID: 9EDE23EA7E8A4890
2 changed files with 1 additions and 1 deletions

View File

@ -33,7 +33,7 @@ app.register(fastifyView, { engine: {ejs}, root: viewsPath });
app.register(fastifyStatic, { root: staticsPath });
app.get('/', (req, reply) => {
reply.view('index.ejs', {markdown: homepageHTML});
reply.view('homepage.ejs', {markdown: homepageHTML});
});
app.get('/invite', (req, reply) => {