/[LeafOK_CVS]/fenglin/js/require_ssl.js
ViewVC logotype

Contents of /fenglin/js/require_ssl.js

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations)
Tue Mar 18 09:18:19 2025 UTC (12 months ago) by sysadm
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +0 -0 lines
Content type: text/javascript
FILE REMOVED
Remove legacy code

1 if (document.location.protocol == "http:")
2 {
3 url = document.location.href.replace("http://","https://");
4 url = url.replace(":80","443");
5 document.location.href = url;
6 }

webmaster@leafok.com
ViewVC Help
Powered by ViewVC 1.3.0-beta1