share: fix jpeg on public link
parent
4ca57bbbe1
commit
8f64d630ec
|
@ -262,6 +262,8 @@ class ImageController extends ApiBase
|
||||||
*
|
*
|
||||||
* @NoCSRFRequired
|
* @NoCSRFRequired
|
||||||
*
|
*
|
||||||
|
* @PublicPage
|
||||||
|
*
|
||||||
* Get a full resolution JPEG for editing from a file.
|
* Get a full resolution JPEG for editing from a file.
|
||||||
*/
|
*/
|
||||||
public function jpeg(string $id)
|
public function jpeg(string $id)
|
||||||
|
|
|
@ -107,7 +107,7 @@ export class API {
|
||||||
}
|
}
|
||||||
|
|
||||||
static IMAGE_JPEG(id: number) {
|
static IMAGE_JPEG(id: number) {
|
||||||
return gen(`${BASE}/image/jpeg/{id}`, { id });
|
return tok(gen(`${BASE}/image/jpeg/{id}`, { id }));
|
||||||
}
|
}
|
||||||
|
|
||||||
static VIDEO_TRANSCODE(fileid: number, file = "index.m3u8") {
|
static VIDEO_TRANSCODE(fileid: number, file = "index.m3u8") {
|
||||||
|
|
Loading…
Reference in New Issue