mailer


Logs | Files | GitLab


1
commit d0a17ead531475227c4663875d1340facd35377c
2
Author: Connor Etherington <[email protected]>
3
Date:   Fri Apr 14 06:31:08 2023 +0200
4
5
    Auto-Commit Update 14.04.2023 - 06:31:08
6
---
7
 server.js | 12 +-----------
8
 1 file changed, 1 insertion(+), 11 deletions(-)
9
10
diff --git a/server.js b/server.js
11
index 13b1a3d..2b07d55 100644
12
--- a/server.js
13
+++ b/server.js
14
@@ -1,6 +1,6 @@
15
 const express = require('express');
16
 const mongoose = require('mongoose');
17
-const port = process.env.PORT || 3999;
18
+const port = process.env.PORT || 2164;
19
 const app = express();
20
 
21
 require('dotenv').config();
22
@@ -12,10 +12,6 @@ const ass = (status, msg) => res.status(status).send(msg);
23
 const aues = (name) => app.use(`/${name}`, express.static(`./public/${name}`));
24
 const serve = () => app.listen(port, () => console.log(`Listening on port ${port} 😁`));
25
 
26
-const { allClients, singleClient, getClients } = require('./methods/updateTemplates');
27
-const updateClients = require('./methods/updateClients');
28
-
29
-
30
 // ___________________________________________________________________________________________________ //
31
 
32
 
33
@@ -33,12 +29,6 @@ mongoose.connect(URI, {
34
 
35
   au('/api', 'api');
36
 
37
-  //allClients();
38
-  //updateClients();
39
-
40
-
41
-
42
-
43
 
44
 }).catch(err => console.log(err));
45