File tree Expand file tree Collapse file tree 1 file changed +27
-0
lines changed
web-assets/static-pages/sso-login Expand file tree Collapse file tree 1 file changed +27
-0
lines changed Original file line number Diff line number Diff line change 1+ <!DOCTYPE html>
2+ < html lang ="en ">
3+ < head >
4+ < title > Login</ title >
5+ < meta charset ="utf-8 " />
6+ < meta http-equiv ="X-UA-Compatible " content ="IE=edge " />
7+ < meta name ="viewport " content ="width=device-width, initial-scale=1 " />
8+ < script >
9+ var url = window . location . href ;
10+ var result = url . match ( / ^ ( .+ ) ( \/ ( .+ ) \/ ) ( \/ ? ) ( .+ ) / ) ;
11+ var host = window . location . host ;
12+ host = "https://" + host ;
13+ var newUrl = host ;
14+ if ( result ) {
15+ try {
16+ newUrl = host + result [ 5 ] ;
17+ console . log ( "new url: " , newUrl ) ;
18+ } catch ( e ) {
19+ console . log ( "Creating new url error: " , e . message ) ;
20+ }
21+ }
22+ window . location . href = newUrl ;
23+ </ script >
24+ </ head >
25+ < body >
26+ </ body >
27+ </ html >
You can’t perform that action at this time.
0 commit comments