feat: extended backend functionality for converting files to the selected file extension sent to the backend via api

This commit is contained in:
theoleuthardt 2025-02-16 17:52:08 +01:00
parent 2c582aaa60
commit 43abb6d5fd
2 changed files with 47 additions and 12 deletions

View file

@ -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);