feat(wip): 支持自定义 share token

This commit is contained in:
xream
2024-10-31 22:31:19 +08:00
parent d12ccad382
commit d8f9466b84
8 changed files with 200 additions and 209 deletions

View File

@@ -13,6 +13,9 @@ import { getISO } from '@/utils/geo';
import env from '@/utils/env';
export default function register($app) {
$app.get('/share/col/:name', downloadCollection);
$app.get('/share/sub/:name', downloadSubscription);
$app.get('/download/collection/:name', downloadCollection);
$app.get('/download/:name', downloadSubscription);
$app.get(