mirror of
https://github.com/Radiquum/AniX.git
synced 2025-09-05 14:05:36 +05:00
feat: Refactor: search #12
This commit is contained in:
parent
b0dab3844e
commit
f2f628add0
4 changed files with 192 additions and 378 deletions
|
@ -18,7 +18,7 @@ app.use(function (req, res, next) {
|
|||
res.header("Access-Control-Allow-Origin", req.headers.origin || "*");
|
||||
res.header(
|
||||
"Access-Control-Allow-Headers",
|
||||
"Origin, X-Requested-With, Content-Type, Accept, Sign, Allow, User-Agent"
|
||||
"Origin, X-Requested-With, Content-Type, Accept, Sign, Allow, User-Agent, Api-Version"
|
||||
);
|
||||
res.header("Access-Control-Allow-Methods", "GET,HEAD,POST,OPTIONS");
|
||||
next();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue