How to add a label to a footnote in math mode?

I am currently doing this:

#show footnote: box
$
4#[@1]\
12#[#footnote[https://typst.app/app]<1>]
$

although I was curious to hear if anyone would approach this in a different way.