Update dependencies 🚀
This commit is contained in:
parent
50598bcefb
commit
f7a328d66e
21 changed files with 837 additions and 517 deletions
|
|
@ -6,7 +6,7 @@ import { createTemp } from '../../misc/create-temp';
|
|||
import { downloadUrl } from '../../misc/donwload-url';
|
||||
import { detectMine } from '../../misc/detect-mine';
|
||||
|
||||
export async function proxyMedia(ctx: Koa.BaseContext) {
|
||||
export async function proxyMedia(ctx: Koa.Context) {
|
||||
const url = 'url' in ctx.query ? ctx.query.url : 'https://' + ctx.params.url;
|
||||
|
||||
// Create temp file
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue