From 360cb5275a8d3ff3c1467508e9a82e5622794312 Mon Sep 17 00:00:00 2001 From: Elijah Date: Sun, 24 May 2026 11:33:09 -0700 Subject: [PATCH] API url changes --- frontend/src/lib/api.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/src/lib/api.ts b/frontend/src/lib/api.ts index 4047581..1e68c03 100644 --- a/frontend/src/lib/api.ts +++ b/frontend/src/lib/api.ts @@ -471,7 +471,7 @@ class ApiClient { // --- OnlyOffice --- async createOnlyOfficeFile(type: 'word' | 'slide') { - const res = await this.request('/onlyoffice/create', { + const res = await this.request('/api/onlyoffice/create', { method: 'POST', body: JSON.stringify({ type }) }); @@ -479,7 +479,7 @@ class ApiClient { } async signOnlyOfficeConfig(config: any) { - const res = await this.request('/onlyoffice/sign', { + const res = await this.request('/api/onlyoffice/sign', { method: 'POST', body: JSON.stringify(config) });