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 ---
|
// --- 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)
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Reference in a new issue