mirror of
https://github.com/SoPat712/dotfiles.git
synced 2025-08-21 10:38:44 -04:00
2 lines
429 B
JavaScript
2 lines
429 B
JavaScript
import{E as r,F as n,_ as u}from"./index-BhWmfNB5.js";import{h as i,V as m,P as d,H as p}from"./vue-DFryKk-1.js";import"./vuetify-XtA0Y0Oj.js";const g=i({__name:"MagnetHandler",setup(c){const t=m(),s=d(),e=r(),a=n();return p(async()=>{const o=decodeURIComponent(t.params.url);o.startsWith("magnet:")&&(e.isFirstInit=!1,e.pushTorrentToQueue(o),a.createDialog(u)),await s.push({name:"dashboard"})}),()=>{}}});export{g as default};
|