Skip to content

Commit 0ff7988

Browse files
committed
Added now.json to redirect from www to root domain
1 parent 76087ba commit 0ff7988

File tree

2 files changed

+13
-1
lines changed

2 files changed

+13
-1
lines changed

redirects/www/now.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"version": 2,
3+
"name": "usehooks-www-redirect",
4+
"alias": ["www.usehooks.com"],
5+
"routes": [
6+
{
7+
"src": "/(.*)",
8+
"status": 301,
9+
"headers": { "Location": "https://usehooks.com/$1" }
10+
}
11+
]
12+
}

src/components/EmailSignup.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ class EmailSignup extends React.Component {
7373
</div>
7474
</div>
7575
</form>
76-
<Extra>Join 4,273 subscribers. No spam ever.</Extra>
76+
<Extra>Join 5,043 subscribers. No spam ever.</Extra>
7777
</Fragment>
7878
)}
7979
</div>

0 commit comments

Comments
 (0)