소스 검색

Add Netlify _redirects file

tags/v2.0.0
Adrian Short 5 년 전
부모
커밋
ae43da4602
2개의 변경된 파일8개의 추가작업 그리고 1개의 파일을 삭제
  1. +3
    -1
      .gitignore
  2. +5
    -0
      public/_redirects

+ 3
- 1
.gitignore 파일 보기

@@ -1,7 +1,9 @@
*.db
*.sqlite
.DS_Store
.rvmrc
.bundle/config
/.ruby-gemset
/tmp/
_*
_site
_config.rb

+ 5
- 0
public/_redirects 파일 보기

@@ -0,0 +1,5 @@
# Redirect domain aliases to primary domain
https://elections.opensutton.org/* https://elections.adrianshort.org/:splat 301!

# Optional: Redirect default Netlify subdomain to primary domain
https://suttonelections.netlify.com/* https://elections.adrianshort.org/:splat 301!

불러오는 중...
취소
저장