@anonymous/

IndianredSalmonHacks

Nodejs

No description

fork
loading
Files
  • index.js

This Plugin Crashed!

Error: Error: must not create an existing file {"type":"CREATE_FILE","wid":"0.2338642820458996","path":"index.js","file":{"path":"index.js","content":{"asEncoding":{"base64":"Y29uc3QgYXBwID0gcmVxdWlyZSgiZXhwcmVzcyIpKCk7CgphcHAuc2V0KCd0cnVzdCBwcm94eScsIHRydWUpOwoKYXBwLmdldCgiLyIsIChyZXEsIHJlcywgbmV4dCkgPT4gewogICAgcmVzLmVuZChyZXEuaXApOwp9KTsKCmFwcC5saXN0ZW4ocHJvY2Vzcy5lbnYuUE9SVCB8fCAzMDAwKTs="},"asBuffer":null},"loaded":true}}
1
2
3
4
5
6
7
8
9
const app = require("express")();

app.set('trust proxy', true);

app.get("/", (req, res, next) => {
    res.end(req.ip);
});

app.listen(process.env.PORT || 3000);
node v10.16.0