fix: image compress
This commit is contained in:
parent
8af40d28a7
commit
558a56bad5
@ -105,7 +105,7 @@ export default {
|
|||||||
return `${baseURL}/api/raw${this.req.path}?auth=${this.jwt}`;
|
return `${baseURL}/api/raw${this.req.path}?auth=${this.jwt}`;
|
||||||
},
|
},
|
||||||
compress() {
|
compress() {
|
||||||
if (this.type === 'image') {
|
if (this.req.type === 'image') {
|
||||||
return `${baseURL}/api/compress${this.req.path}?auth=${this.jwt}`;
|
return `${baseURL}/api/compress${this.req.path}?auth=${this.jwt}`;
|
||||||
} else {
|
} else {
|
||||||
return `${baseURL}/api/raw${this.req.path}?auth=${this.jwt}`;
|
return `${baseURL}/api/raw${this.req.path}?auth=${this.jwt}`;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user