diff --git a/lib/index.js b/lib/index.js index 4f0217a..63534ca 100644 --- a/lib/index.js +++ b/lib/index.js @@ -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) => { diff --git a/lib/views/index.ejs b/lib/views/homepage.ejs similarity index 100% rename from lib/views/index.ejs rename to lib/views/homepage.ejs