add AI page
This commit is contained in:
10
app.js
10
app.js
@ -175,6 +175,16 @@ app.get('/contact', (req, res) => {
|
||||
});
|
||||
});
|
||||
|
||||
// Contact Route (Render the contact form)
|
||||
app.get('/chat', (req, res) => {
|
||||
res.render('chat', {
|
||||
title: `Chat ${process.env.OWNER_NAME}`,
|
||||
msg: undefined,
|
||||
menuItems // Pass the menu items to the view
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
// Blog Post Route
|
||||
app.get('/blog/:slug', (req, res) => {
|
||||
const slug = req.params.slug;
|
||||
|
Reference in New Issue
Block a user