Hey!
I have a custom protocol I want to use through wixLocation.to. How can I go about this?
Can you give an example for what you’re trying to do?
@jonatandor35 yes:
wixLocation.to(pickt://join?abcdef)
@mcrich23 I guess you meant:
wixLocation.to('pickt://join?abcdef')
(with quotations)
If it doesn’t work you can try using it in custom element.
Another option you can try:
Create a router page and in backend/routers.js redirect to this url
(I haven’t tried any of these solutions and I don’t know if they fit to your needs).