Skip to content

Commit b4b4d27

Browse files
Update index.js
1 parent f077257 commit b4b4d27

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

index.js

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,7 @@ const app = express();
33
const PORT = process.env.PORT || 5000;
44
const cors = require("cors");
55

6-
axios.default.validateStatus = () => true;
7-
axios.default.headers.common["User-Agent"] =
8-
"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Safari/537.36 Edg/108.0.1462.54";
9-
106
app.use(cors());
11-
app.use((req, res, next) => {
12-
res.header("Access-Control-Allow-Origin", "*");
13-
res.header("X-Powered-By", "Express");
14-
next();
15-
});
167

178
const otakudesu = require("./routes/otakudesu/otakudesu");
189
const animeIndo = require("./routes/animeIndo/animeIndo");

0 commit comments

Comments
 (0)