2025-12-09 15:47:39 +08:00
|
|
|
/*
|
|
|
|
|
* Copyright (c) Mengning Software. 2025. All rights reserved.
|
|
|
|
|
* Authors: DevStar Team,
|
|
|
|
|
* Create: 2025-12-09
|
|
|
|
|
* Description: TODO
|
|
|
|
|
*/
|
2019-04-17 20:52:55 -07:00
|
|
|
|
|
|
|
|
'use strict';
|
|
|
|
|
|
|
|
|
|
const express = require('express');
|
|
|
|
|
|
|
|
|
|
// Constants
|
|
|
|
|
const PORT = 3000;
|
|
|
|
|
const HOST = '0.0.0.0';
|
|
|
|
|
// App
|
|
|
|
|
const app = express();
|
|
|
|
|
app.get('/', (req, res) => {
|
|
|
|
|
res.send('Hello remote world!\n');
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
app.listen(PORT, HOST);
|
|
|
|
|
console.log(`Running on http://${HOST}:${PORT}`);
|