Skip to content

Commit

Permalink
add serve grip
Browse files Browse the repository at this point in the history
  • Loading branch information
darkcris1 committed May 28, 2023
1 parent 42dda8b commit 19822a4
Show file tree
Hide file tree
Showing 3 changed files with 1,240 additions and 1 deletion.
3 changes: 3 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,11 @@ const io = require("socket.io")(http);
const path = require("path");
const { formatMsgObj } = require("./utils");
const { createUser, getUsersInRoom, removeUser } = require("./users");
const { ServeGrip } = require( '@fanoutio/serve-grip' );

app.use(express.static(path.join(__dirname, "client/public")));
const serveGrip = new ServeGrip(/* config */);
app.use(serveGrip);

const SERVER_NAME = "_BOT_";

Expand Down
Loading

0 comments on commit 19822a4

Please sign in to comment.