debug
This commit is contained in:
parent
3e8d86df57
commit
06f86d2509
|
@ -12,7 +12,7 @@ import dictionaryRouter from "./routers/dictionary-router";
|
|||
|
||||
const sameOriginCorsOpts = {
|
||||
origin: inProd ? /\.lingdocs\.com$/ : "*",
|
||||
methods: "GET,HEAD,PUT,PATCH,POST,DELETE",
|
||||
methods: "GET,HEAD,PUT,PATCH,POST,DELETE,OPTIONS",
|
||||
credentials: true,
|
||||
};
|
||||
const app = express();
|
||||
|
|
|
@ -5,3 +5,13 @@ content-type: application/json
|
|||
"text": "کور ته ځم",
|
||||
"accents": false
|
||||
}
|
||||
|
||||
###
|
||||
|
||||
PUT https://account.lingdocs.com/feedback HTTP/1.1
|
||||
content-type: application/json
|
||||
|
||||
{
|
||||
"anonymous": true,
|
||||
"apple": "is blue"
|
||||
}
|
Loading…
Reference in New Issue