8

I have the following rss object on my page...

data.data[i].link

and it produces the following URL...

http://

I would like the URL instead to start out with...

https:// 

What would be the easiest way to modify this?

Thanks for any advice

0

1 Answer 1

15
data.data[i].link.replace('http://','https://');
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.