netlify跳转

<!DOCTYPE html>
<head>
<title>Redirecting to Netlify</title>
<script>
    let gitUrl = window.top.location.hash.replace("#","")
    if(gitUrl.endsWith("/")) gitUrl = gitUrl.slice(0,-1)

    if(gitUrl && gitUrl.length > 1)
        window.top.location = `https://app.netlify.com/start/deploy?repository=${gitUrl}`
    else 
        window.top.location = `https://github.com/netlify-run/netlify.run`
</script>
</head>
<body></body>
</html>

 

posted @ 2022-09-06 12:07  Naihe\  阅读(77)  评论(0编辑  收藏  举报
// 音乐播放器