Skip to content

Commit fbadd7e

Browse files
committed
feat: 优化前端手动备份
1 parent c8ccf45 commit fbadd7e

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

backend/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "sub-store",
3-
"version": "2.36.13",
3+
"version": "2.36.14",
44
"description": "Advanced Subscription Manager for QX, Loon, Surge, Stash and Shadowrocket.",
55
"main": "src/main.js",
66
"packageManager": "pnpm@11.0.9",

backend/src/restful/miscs.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ export default function register($app) {
3535
$app.route('/api/storage')
3636
.get((req, res) => {
3737
res.set('content-type', 'application/json')
38+
.set('access-control-expose-headers', 'content-disposition')
3839
.set(
3940
'content-disposition',
4041
`attachment; filename="${encodeURIComponent(

0 commit comments

Comments
 (0)