mirror of
https://github.com/wu736139669/hapi.git
synced 2026-10-26 22:30:50 +00:00
23 lines
660 B
HTML
23 lines
660 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<title>HAPI</title>
|
|
<script>
|
|
(function () {
|
|
var studio = window.location.pathname.match(/^(.*\/)studio\/([^/]+)/)
|
|
if (studio) {
|
|
var target = new URL(studio[1] + 'studio.html', window.location.origin)
|
|
target.search = window.location.search
|
|
target.searchParams.set('token', studio[2])
|
|
window.location.replace(target.toString())
|
|
return
|
|
}
|
|
sessionStorage.setItem('spaRedirect', window.location.pathname + window.location.search + window.location.hash)
|
|
window.location.replace('/')
|
|
})()
|
|
</script>
|
|
</head>
|
|
<body></body>
|
|
</html>
|