hprasath commited on
Commit
336b464
·
verified ·
1 Parent(s): d79724a

Update index.js

Browse files
Files changed (1) hide show
  1. index.js +4 -2
index.js CHANGED
@@ -11,8 +11,10 @@ app.use(express.urlencoded({ extended: true }));
11
  app.use(cors());
12
 
13
  app.get("/", function (req, res) {
14
-
15
- res.send("Hello World!!")
 
 
16
  });
17
 
18
  app.post("/compile", function (req, res) {
 
11
  app.use(cors());
12
 
13
  app.get("/", function (req, res) {
14
+ compiler.flush(function () {
15
+ console.log("deleted");
16
+ });
17
+ res.send("Hello World!!");
18
  });
19
 
20
  app.post("/compile", function (req, res) {