[dancer-users] Mixed content & uri_for function

Wanjuan Yang wy1 at sanger.ac.uk
Mon Feb 7 15:53:00 GMT 2022


Hi,

We have an web application using dancer2 framework.The website is using https.
But in the page, it calls other page using uri_for.
i.e The url is generated by uri_for and sending it to template.

The url generated is automatically set ‘http’, so the page has mixed content. And thus doesn’t load.

My question is where is the uri_for located. Why is automatically set ‘http’, how can I specify it to be ‘https’?

Many thanks
Wendy






-- 
 The Wellcome Sanger Institute is operated by Genome Research 
 Limited, a charity registered in England with number 1021457 and a 
 company registered in England with number 2742969, whose registered 
 office is 215 Euston Road, London, NW1 2BE.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.preshweb.co.uk/pipermail/dancer-users/attachments/20220207/2aa4febd/attachment.htm>


More information about the dancer-users mailing list