Spaces:
Sleeping
Sleeping
Update index.js
Browse files
index.js
CHANGED
|
@@ -6,12 +6,6 @@ const nsfwcheck = require('./lib/isporn');
|
|
| 6 |
const PORT = process.env.PORT || 4000;
|
| 7 |
const fetch = require('node-fetch');
|
| 8 |
|
| 9 |
-
if (!fs.existsSync(tempFolderPath)) {
|
| 10 |
-
console.log('Creating Temporary Folder...');
|
| 11 |
-
fs.mkdirSync(tempFolderPath);
|
| 12 |
-
}
|
| 13 |
-
|
| 14 |
-
|
| 15 |
app.use(bodyParser.json());
|
| 16 |
app.use(bodyParser.urlencoded({
|
| 17 |
extended: true
|
|
|
|
| 6 |
const PORT = process.env.PORT || 4000;
|
| 7 |
const fetch = require('node-fetch');
|
| 8 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 9 |
app.use(bodyParser.json());
|
| 10 |
app.use(bodyParser.urlencoded({
|
| 11 |
extended: true
|