diff --git a/tdrive/backend/node/src/services/applications-api/index.ts b/tdrive/backend/node/src/services/applications-api/index.ts index 5e03349e..8fa658e7 100644 --- a/tdrive/backend/node/src/services/applications-api/index.ts +++ b/tdrive/backend/node/src/services/applications-api/index.ts @@ -26,8 +26,9 @@ export default class ApplicationsApiService extends TdriveService { const { proxy, close } = FastProxy({ base: domain, }); + console.log("Listening at ", "/" + prefix.replace(/(\/$|^\/)/gm, "") + "/*"); fastify.addHook("onClose", close); - fastify.all("/" + prefix.replace(/(\/$|^\/)/, "") + "/*", (req, rep) => { + fastify.all("/" + prefix.replace(/(\/$|^\/)/gm, "") + "/*", (req, rep) => { proxy(req.raw, rep.raw, req.url, {}); }); }