Created
November 10, 2014 21:25
-
-
Save AdrianRossouw/6721eec3ce62e0a1e912 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- paths.js 2014-11-10 23:24:17.000000000 +0200 | |
+++ paths.beta.js 2014-11-10 23:24:17.000000000 +0200 | |
@@ -3,7 +3,7 @@ | |
module.exports = [ | |
{ | |
match: /^\/ping$/, | |
- resource: 'http://route.wayfinder.is/ping', | |
+ resource: 'http://route-beta.wayfinder.is/ping', | |
handler: handlers.proxy, | |
}, | |
{ | |
@@ -13,7 +13,7 @@ | |
}, | |
{ | |
match: /^\/dist\/route-app\/(.*)$/, | |
- resource: 'http://route.wayfinder.is/dist/route-app/$1', | |
+ resource: 'http://route-beta.wayfinder.is/dist/route-app/$1', | |
handler: handlers.proxy, | |
}, | |
{ | |
@@ -33,7 +33,7 @@ | |
}, | |
{ | |
match: /^\/dist\/suggest-embed\/(.*)$/, | |
- resource: 'http://suggest-embed.wayfinder.is/dist/suggest-embed/$1', | |
+ resource: 'http://homepage.wayfinder.is/dist/suggest-embed/$1', | |
handler: handlers.proxy, | |
}, | |
{ | |
@@ -42,6 +42,11 @@ | |
handler: handlers.proxy, | |
}, | |
{ | |
+ match: /^\/dist\/profile-app\/(.*)/, | |
+ resource: 'http://profile-beta.wayfinder.is/dist/profile-app/$1', | |
+ handler: handlers.proxy, | |
+ }, | |
+ { | |
match: /^\/statics\/(.*)/, | |
resource: 'http://statics.wayfinder.is/statics/$1', | |
handler: handlers.proxy, | |
@@ -57,7 +62,7 @@ | |
handler: handlers.proxy, | |
}, | |
{ | |
- match: /^\/extension\/?$/, | |
+ match: /^\/extension$/, | |
resource: 'http://extension.wayfinder.is/', | |
handler: handlers.proxy, | |
}, | |
@@ -118,7 +123,7 @@ | |
}, | |
{ | |
match: /^\/new$/, | |
- resource: 'http://route.wayfinder.is/new', | |
+ resource: 'http://route-beta.wayfinder.is/new', | |
handler: handlers.proxy, | |
}, | |
{ | |
@@ -128,7 +133,7 @@ | |
}, | |
{ | |
match: /^\/(\w+)$/, | |
- resource: 'http://editor.wayfinder.is/$1', | |
+ resource: 'http://profile-beta.wayfinder.is/$1', | |
handler: handlers.proxy, | |
}, | |
{ | |
@@ -138,7 +143,7 @@ | |
}, | |
{ | |
match: /^\/(.*)/, | |
- resource: 'http://route.wayfinder.is/$1', | |
+ resource: 'http://route-beta.wayfinder.is/$1', | |
handler: handlers.proxy, | |
}, | |
]; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment