mirror of https://codeberg.org/pzp/pzp-hub.git
rename index.ejs to homepage.ejs
This commit is contained in:
parent
e6e65df94e
commit
99dda683b6
|
@ -33,7 +33,7 @@ app.register(fastifyView, { engine: {ejs}, root: viewsPath });
|
||||||
app.register(fastifyStatic, { root: staticsPath });
|
app.register(fastifyStatic, { root: staticsPath });
|
||||||
|
|
||||||
app.get('/', (req, reply) => {
|
app.get('/', (req, reply) => {
|
||||||
reply.view('index.ejs', {markdown: homepageHTML});
|
reply.view('homepage.ejs', {markdown: homepageHTML});
|
||||||
});
|
});
|
||||||
|
|
||||||
app.get('/invite', (req, reply) => {
|
app.get('/invite', (req, reply) => {
|
||||||
|
|
Loading…
Reference in New Issue