浏览代码

Remove node

master
Panayiotis Lipiridis 5 年前
父节点
当前提交
123b2ea4e0
共有 2 个文件被更改,包括 1 次插入4 次删除
  1. 1
    1
      index.ts
  2. 0
    3
      package.json

+ 1
- 1
index.ts 查看文件

8
 const port = process.env.PORT || 8080;
8
 const port = process.env.PORT || 8080;
9
 
9
 
10
 app.get("/", (req, res) => {
10
 app.get("/", (req, res) => {
11
-  res.send("Hi, collab!");
11
+  res.send("Hi, excalidraw-room!");
12
 });
12
 });
13
 
13
 
14
 const server = http.createServer(app);
14
 const server = http.createServer(app);

+ 0
- 3
package.json 查看文件

12
     "lint-staged": "10.0.8",
12
     "lint-staged": "10.0.8",
13
     "prettier": "1.19.1"
13
     "prettier": "1.19.1"
14
   },
14
   },
15
-  "engines": {
16
-    "node": "10.x.x"
17
-  },
18
   "husky": {
15
   "husky": {
19
     "hooks": {
16
     "hooks": {
20
       "pre-commit": "lint-staged"
17
       "pre-commit": "lint-staged"

正在加载...
取消
保存