Skip to content

Commit e184c57

Browse files
committed
Enforce HTTP
1 parent 1800a84 commit e184c57

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

‎router.php‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,8 @@ function ( $url ) {
107107
$url = str_replace( $site_url_host, $_SERVER['HTTP_HOST'], $url );
108108
}
109109

110+
$url = str_replace( 'https://', 'http://', $url );
111+
110112
return $url;
111113
},
112114
20

0 commit comments

Comments
 (0)