소스 검색

Add Netlify `_redirect`

Track3 6 년 전
부모
커밋
e708c5e5c7
2개의 변경된 파일3개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      layouts/_default/baseof.html
  2. 2 0
      static/_redirects

+ 1 - 1
layouts/_default/baseof.html

@@ -36,7 +36,7 @@
 			var s = document.getElementsByTagName("script")[0]; 
 			s.parentNode.insertBefore(hm, s);
 		})();
-	</script>		
+	</script>
 </body>
 
 </html>

+ 2 - 0
static/_redirects

@@ -0,0 +1,2 @@
+# Redirect default Netlify subdomain to primary domain
+https://dreamy-banach-056721.netlify.com/* https://www.xxxlbox.com/:splat 301!