Merge pull request #148 from excalidraw/add_root

This commit is contained in:
David Luzar 2020-12-28 12:38:27 +01:00 committed by GitHub
commit cc4a6ce1b9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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