Update main.js
Browse files
main.js
CHANGED
|
@@ -36,7 +36,7 @@ async function takeScreenshotAndReturn(req, res) {
|
|
| 36 |
app.get('/screenshot', takeScreenshotAndReturn);
|
| 37 |
|
| 38 |
// 启动服务器,监听3000端口
|
| 39 |
-
const port =
|
| 40 |
app.listen(port, () => {
|
| 41 |
console.log(`服务器已启动,监听端口 ${port}`);
|
| 42 |
});
|
|
|
|
| 36 |
app.get('/screenshot', takeScreenshotAndReturn);
|
| 37 |
|
| 38 |
// 启动服务器,监听3000端口
|
| 39 |
+
const port = 7860;
|
| 40 |
app.listen(port, () => {
|
| 41 |
console.log(`服务器已启动,监听端口 ${port}`);
|
| 42 |
});
|