且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

更改 Meteor 电子邮件验证链接和路由

更新时间:2023-02-25 11:50:20

好的,这就是我所做的.
我已停止连接 url,并在呈现的函数中创建了一个动态链接,以便在电子邮件链接验证时将应用程序路由到我想要的页面.

谢谢 Askhat 你的回答是正确的,因为图像 src 也需要/"才能工作.

Ok, here's what I have done.
I've stopped concatenating the url and made a dynamic link within the rendered function to route the app to the page I want in the moment of the e-mail link validation.

Thanks Askhat your answer was right on the spot, because the images src need the "/" to work as well.