Permalink
Browse files

filter clientId properly

  • Loading branch information...
michielbdejong committed Nov 22, 2011
1 parent a88db6d commit ad7adc89b9297fb6158ca2d24d3189933f0d15f4
Showing with 10 additions and 6 deletions.
  1. +1 −1 remoteCouch.js
  2. +9 −0 restart.sh
  3. +0 −5 start.sh
View
@@ -155,7 +155,7 @@
if((thisChar >= 'a' && thisChar <= 'z') || (thisChar >= 'A' && thisChar <= 'Z')) {
clientId += thisChar;
} else {
- clientId += thisChar;
+ clientId += '_';//thisChar;
}
}
console.log('Parsed redirect_uri to form clientId:'+clientId);
View
@@ -0,0 +1,9 @@
+forever stopall
+mv /root/.forever/*.log /root/.forever-old/
+forever start vhostRouter.js #port 80
+forever start statics.js #port 8001 - statics
+forever start remoteCouch.js #port 8002 - facade
+forever start CORS.js #port 8003 - proxy
+forever start userAddress.js #port 8004 - userAddress
+forever list
+tail -f /root/.forever/*.log
View
@@ -1,5 +0,0 @@
-sudo node vhostRouter.js #port 80
-node statics.js & #port 8001 - statics
-node remoteCouch.js & #port 8002 - facade
-node CORS.js & #port 8003 - proxy
-node userAddress.js & #port 8004 - userAddress

0 comments on commit ad7adc8

Please sign in to comment.