Skip to content

Commit

Permalink
Se agrego un route now config #2
Browse files Browse the repository at this point in the history
  • Loading branch information
johnsi15 committed Nov 21, 2019
1 parent 4bdaa67 commit 81f4cc8
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions now.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
{ "src": "/blog/(?<slug>[^/]+)", "dest": "/post?slug=$slug" },
{ "src": "/tags/(?<slug>[^/]+)", "dest": "/tag?slug=$slug" },
{ "src": "^/ads.txt", "dest": "/static/ads.txt" },
{ "src": "/.well-known/acme-challenge/(?<slug>[^/]+)/$", "dest": "/" },
{
"src": "/blog/",
"status": 301,
Expand All @@ -29,11 +30,6 @@
"src": "/blog/(?<slug>[^/]+)/$",
"status": 301,
"headers": { "Location": "https://johnserrano.co/blog/$slug" }
},
{
"src": "/.well-known/acme-challenge/(?<slug>[^/]+)/$",
"status": 301,
"headers": { "Location": "https://johnserrano.co" }
}
]
}

0 comments on commit 81f4cc8

Please sign in to comment.