This website works better with JavaScript.
Home
Explore
Help
Sign In
adrianshort
/
suttonelections
mirror of
https://github.com/adrianshort/suttonelections.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
2
Wiki
Activity
Browse Source
Add Netlify _redirects file
tags/v2.0.0
Adrian Short
6 years ago
parent
ffa98518e6
commit
ae43da4602
2 changed files
with
8 additions
and
1 deletions
Unified View
Diff Options
Show Stats
Download Patch File
Download Diff File
+3
-1
.gitignore
+5
-0
public/_redirects
+ 3
- 1
.gitignore
View File
@@ -1,7 +1,9 @@
*.db
*.db
*.sqlite
.DS_Store
.DS_Store
.rvmrc
.rvmrc
.bundle/config
.bundle/config
/.ruby-gemset
/.ruby-gemset
/tmp/
/tmp/
_*
_site
_config.rb
+ 5
- 0
public/_redirects
View File
@@ -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!
Write
Preview
Loading…
Cancel
Save