Update index.js
Browse files
index.js
CHANGED
@@ -12,7 +12,9 @@ app.get('/', (req, res) => {
|
|
12 |
res.redirect('https://t.me/RendyProjects');
|
13 |
});
|
14 |
|
15 |
-
app.
|
|
|
|
|
16 |
|
17 |
app.get('/api/test', async (req, res) => {
|
18 |
try {
|
|
|
12 |
res.redirect('https://t.me/RendyProjects');
|
13 |
});
|
14 |
|
15 |
+
CheckMilWare(app).then(middleware => {
|
16 |
+
app.use(middleware);
|
17 |
+
});
|
18 |
|
19 |
app.get('/api/test', async (req, res) => {
|
20 |
try {
|