We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f077257 commit b4b4d27Copy full SHA for b4b4d27
index.js
@@ -3,16 +3,7 @@ const app = express();
3
const PORT = process.env.PORT || 5000;
4
const cors = require("cors");
5
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
-
10
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
-});
16
17
const otakudesu = require("./routes/otakudesu/otakudesu");
18
const animeIndo = require("./routes/animeIndo/animeIndo");
0 commit comments