[mirotalksfu] - add about - presentation

هذا الالتزام موجود في:
Miroslav Pejic
2022-03-14 20:59:47 +01:00
الأصل 902421bd1f
التزام 8e0d050f4a
10 ملفات معدلة مع 191 إضافات و4 حذوفات

عرض الملف

@@ -86,6 +86,7 @@ const dir = {
// html views
const view = {
about: path.join(__dirname, '../../', 'public/view/about.html'),
landing: path.join(__dirname, '../../', 'public/view/landing.html'),
login: path.join(__dirname, '../../', 'public/view/login.html'),
newRoom: path.join(__dirname, '../../', 'public/view/newroom.html'),
@@ -205,6 +206,11 @@ app.get(['/privacy'], (req, res) => {
res.sendFile(view.privacy);
});
// mirotalk about
app.get(['/about'], (req, res) => {
res.sendFile(view.about);
});
// ####################################################
// API
// ####################################################