Skip to content

Commit

Permalink
强制使用https
Browse files Browse the repository at this point in the history
  • Loading branch information
OrdosX committed Feb 26, 2021
1 parent e8b5acc commit 81090b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<link rel="icon" href="<%= BASE_URL %>favicon.ico">
<title><%= htmlWebpackPlugin.options.title %></title>
<!-- force https -->
<!-- <script>if(window.location.href.split("://")[0]=="http") window.location.href = window.location.href.replace("http://", "https://");</script> -->
<script>if(window.location.href.split("://")[0]=="http") window.location.href = window.location.href.replace("http://", "https://");</script>
</head>
<body>
<noscript>
Expand Down

0 comments on commit 81090b3

Please sign in to comment.