API url changes
All checks were successful
Automated Container Build / build-and-push (push) Successful in 39s

This commit is contained in:
Elijah 2026-05-24 11:33:09 -07:00
parent 07aad3b8d4
commit 360cb5275a

View file

@ -471,7 +471,7 @@ class ApiClient {
// --- OnlyOffice --- // --- OnlyOffice ---
async createOnlyOfficeFile(type: 'word' | 'slide') { async createOnlyOfficeFile(type: 'word' | 'slide') {
const res = await this.request('/onlyoffice/create', { const res = await this.request('/api/onlyoffice/create', {
method: 'POST', method: 'POST',
body: JSON.stringify({ type }) body: JSON.stringify({ type })
}); });
@ -479,7 +479,7 @@ class ApiClient {
} }
async signOnlyOfficeConfig(config: any) { async signOnlyOfficeConfig(config: any) {
const res = await this.request('/onlyoffice/sign', { const res = await this.request('/api/onlyoffice/sign', {
method: 'POST', method: 'POST',
body: JSON.stringify(config) body: JSON.stringify(config)
}); });