Spaces:
Sleeping
Sleeping
Update index.js
Browse files
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 |
-
|
|
|
|
|
|
|
| 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) {
|