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