ソースを参照

Add test images (#165)

master
Lipis 4年前
コミット
ed1862dab8
コミッターのメールアドレスに関連付けられたアカウントが存在しません
4個のファイルの変更2行の追加0行の削除
  1. バイナリ
      public/test128.png
  2. バイナリ
      public/test256.png
  3. バイナリ
      public/test64.png
  4. 2
    0
      src/index.ts

バイナリ
public/test128.png ファイルの表示


バイナリ
public/test256.png ファイルの表示


バイナリ
public/test64.png ファイルの表示


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

@@ -10,6 +10,8 @@ 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.use(express.static("public"));
14
+
13 15
 app.get("/", (req, res) => {
14 16
   res.send("Excalidraw collaboration server is up :)");
15 17
 });

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