Skip to content

Commit

Permalink
fix: 兼容空的订阅链接
Browse files Browse the repository at this point in the history
  • Loading branch information
xream committed Jun 8, 2024
1 parent 143ef8f commit f5a4cda
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "sub-store-front-end",
"version": "2.14.242",
"version": "2.14.243",
"private": true,
"scripts": {
"dev": "vite --host",
Expand Down
2 changes: 1 addition & 1 deletion src/utils/getFlowsUrlList.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export const getFlowsUrlList = (subs: Sub[]): string[][] => {
let url = `${raw}`
.split(/[\r\n]+/)
.map((i) => i.trim())
.filter((i) => i.length)?.[0]
.filter((i) => i.length)?.[0] || ''

let $arguments = {} as any;
const rawArgs = url.split('#');
Expand Down

0 comments on commit f5a4cda

Please sign in to comment.