Merge pull request #148 from excalidraw/add_root
This commit is contained in:
commit
cc4a6ce1b9
@ -10,6 +10,10 @@ const socketDebug = debug("socket");
|
|||||||
const app = express();
|
const app = express();
|
||||||
const port = process.env.PORT || 80; // default port to listen
|
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);
|
const server = http.createServer(app);
|
||||||
|
|
||||||
server.listen(port, () => {
|
server.listen(port, () => {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user