mirror of
https://github.com/mollersuite/monofile.git
synced 2024-11-21 21:36:26 -08:00
fix
This commit is contained in:
parent
9253228567
commit
e75b8fb3aa
|
@ -92,7 +92,7 @@ app.post("/upload",multerSetup.single('file'),async (req,res) => {
|
|||
}
|
||||
})
|
||||
|
||||
app.post("/clone",(req,res) => {
|
||||
app.post("/clone", bodyParser.json({type: ["text/plain","application/json"]}) ,(req,res) => {
|
||||
try {
|
||||
axios.get(req.body.url,{responseType:"arraybuffer"}).then((data:AxiosResponse) => {
|
||||
|
||||
|
|
Loading…
Reference in a new issue