mirror of
https://github.com/theoleuthardt/werkzeugkiste.git
synced 2026-06-13 09:37:53 +00:00
feat: extended backend functionality for converting files to the selected file extension sent to the backend via api
This commit is contained in:
parent
2c582aaa60
commit
43abb6d5fd
2 changed files with 47 additions and 12 deletions
|
|
@ -5,7 +5,7 @@ import { libreConvert } from "./src/routes/libreconvert.route";
|
|||
|
||||
const app = Fastify({ logger: true });
|
||||
|
||||
app.register(cors, { origin: "*" });
|
||||
app.register(cors, { origin: "*", exposedHeaders: 'Content-Disposition' });
|
||||
app.register(multipart);
|
||||
app.register(libreConvert);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue