ソースを参照

Merge pull request #148 from excalidraw/add_root

master
David Luzar 4年前
コミット
cc4a6ce1b9
コミッターのメールアドレスに関連付けられたアカウントが存在しません
1個のファイルの変更4行の追加0行の削除
  1. 4
    0
      src/index.ts

+ 4
- 0
src/index.ts ファイルの表示

@@ -10,6 +10,10 @@ const socketDebug = debug("socket");
10 10
 const app = express();
11 11
 const port = process.env.PORT || 80; // default port to listen
12 12
 
13
+app.get("/", (req, res) => {
14
+  res.send("Excalidraw collaboration server is up :)");
15
+});
16
+
13 17
 const server = http.createServer(app);
14 18
 
15 19
 server.listen(port, () => {

読み込み中…
キャンセル
保存