API url changes
All checks were successful
Automated Container Build / build-and-push (push) Successful in 39s
All checks were successful
Automated Container Build / build-and-push (push) Successful in 39s
This commit is contained in:
parent
07aad3b8d4
commit
360cb5275a
1 changed files with 2 additions and 2 deletions
|
|
@ -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)
|
||||
});
|
||||
|
|
|
|||
Reference in a new issue