diff --git a/src/index.ts b/src/index.ts index ac9f2a7..de6380c 100755 --- a/src/index.ts +++ b/src/index.ts @@ -10,12 +10,17 @@ const socketDebug = debug("socket"); const app = express(); const port = process.env.PORT || 80; // default port to listen +app.get("/", (req, res) => { + res.send("Excalidraw collab server is up :)"); +}); + const server = http.createServer(app); server.listen(port, () => { serverDebug(`listening on port: ${port}`); }); + const io = socketIO(server, { handlePreflightRequest: function (req, res) { var headers = {