Update cai.js
Browse files
cai.js
CHANGED
|
@@ -63,6 +63,7 @@ app.use(express.json());
|
|
| 63 |
app.set('json spaces', 4);
|
| 64 |
app.get('/', async (req, res) => {
|
| 65 |
res.send('halo dunia')
|
|
|
|
| 66 |
console.log(new Date().toLocaleString('id-ID', { year: 'numeric', month: 'long', day: 'numeric', hour: '2-digit', minute: '2-digit', second: '2-digit' }));
|
| 67 |
})
|
| 68 |
app.get('/api', async (req, res) => {
|
|
|
|
| 63 |
app.set('json spaces', 4);
|
| 64 |
app.get('/', async (req, res) => {
|
| 65 |
res.send('halo dunia')
|
| 66 |
+
console.log(sessions)
|
| 67 |
console.log(new Date().toLocaleString('id-ID', { year: 'numeric', month: 'long', day: 'numeric', hour: '2-digit', minute: '2-digit', second: '2-digit' }));
|
| 68 |
})
|
| 69 |
app.get('/api', async (req, res) => {
|