<!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>
标签:netlify,top,gitUrl,window,location,跳转 From: https://www.cnblogs.com/1314h/p/16661326.html