Skip to content

Commit 03b923f

Browse files
committed
fix .yml
1 parent 3b50f08 commit 03b923f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

web/index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -532,7 +532,7 @@
532532
},
533533
handleCopySub: async function () {
534534
// url
535-
if (this.subscription.trim().startsWith("http") && !this.subscription.trim().endsWith("yaml")) {
535+
if (this.subscription.trim().startsWith("http") && !this.subscription.trim().endsWith(".yaml") && !!this.subscription.trim().endsWith(".yml")) {
536536
await navigator.clipboard.writeText(this.subscription.trim())
537537
this.$message.success("Copy Subscription succeed!");
538538
return

0 commit comments

Comments
 (0)