File tree Expand file tree Collapse file tree 3 files changed +34
-1
lines changed Expand file tree Collapse file tree 3 files changed +34
-1
lines changed Original file line number Diff line number Diff line change 5
5
< link rel ="icon " type ="image/png " href ="/logo.png " />
6
6
< meta name ="viewport " content ="width=device-width, initial-scale=1.0 " />
7
7
< title > Open Courses | KrimsonSquad</ title >
8
+ < script type ="text/javascript ">
9
+ ( function ( l ) {
10
+ if ( l . search [ 1 ] === '/' ) {
11
+ var decoded = l . search . slice ( 1 ) . split ( '&' ) . map ( function ( s ) {
12
+ return s . replace ( / ~ a n d ~ / g, '&' )
13
+ } ) . join ( '?' ) ;
14
+ window . history . replaceState ( null , null ,
15
+ l . pathname . slice ( 0 , - 1 ) + decoded + l . hash
16
+ ) ;
17
+ }
18
+ } ( window . location ) )
19
+ </ script >
8
20
</ head >
9
21
< body >
10
22
< div id ="root "> </ div >
Original file line number Diff line number Diff line change
1
+ <!DOCTYPE html>
2
+ < html >
3
+ < head >
4
+ < meta charset ="utf-8 ">
5
+ < title > OpenCourse | KrimsonSquad</ title >
6
+ < script type ="text/javascript ">
7
+ var pathSegmentsToKeep = 1 ;
8
+
9
+ var l = window . location ;
10
+ l . replace (
11
+ l . protocol + '//' + l . hostname + ( l . port ? ':' + l . port : '' ) +
12
+ l . pathname . split ( '/' ) . slice ( 0 , 1 + pathSegmentsToKeep ) . join ( '/' ) + '/?/' +
13
+ l . pathname . slice ( 1 ) . split ( '/' ) . slice ( pathSegmentsToKeep ) . join ( '/' ) . replace ( / & / g, '~and~' ) +
14
+ ( l . search ? '&' + l . search . slice ( 1 ) . replace ( / & / g, '~and~' ) : '' ) +
15
+ l . hash
16
+ ) ;
17
+
18
+ </ script >
19
+ </ head >
20
+ < body >
21
+ </ body >
22
+ </ html >
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments