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
var routes = ['/']; | |
app.routes.get.forEach(function(r) { | |
var parts = r.path.split("/"); | |
console.log(parts); | |
console.log(parts.join("/")+"/"); | |
parts= parts.slice(0,-1); // so we only do /thing1/a and not /thing1/b as well. | |
console.log(parts); | |
console.log(parts.join("/")+"/"); | |
if(routes.indexOf(parts.join("/")+"/")<0&&"/"+parts.join("/")+"/" !=("///"||"//"||"/*/")){ |
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
Ari$ jitsu deploy | |
info: Welcome to Nodejitsu ari-porad | |
info: jitsu v0.11.0, node v0.8.14 | |
info: It worked if it ends with Nodejitsu ok | |
info: Executing command deploy | |
info: Skipping require-analyzer because noanalyze option is set | |
info: Skipping require-analyzer because noanalyze option is set | |
error: Error running command deploy | |
error: Unexpected token } | |
help: For help with this error contact Nodejitsu Support: |
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
Ari$ jitsu deploy | |
info: Welcome to Nodejitsu ari-porad | |
info: jitsu v0.11.3, node v0.8.14 | |
info: It worked if it ends with Nodejitsu ok | |
info: Executing command deploy | |
info: Analyzing application dependencies in server.js | |
info: Checking app availability ArisGameBeta | |
error: Error running command deploy | |
help: For help with this error contact Nodejitsu Support: | |
help: webchat: <http://webchat.nodejitsu.com/> |
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
Aris-MacBook-Pro:Ari Website Ari$ jitsu deploy | |
info: Welcome to Nodejitsu porad | |
info: It worked if it ends with Nodejitsu ok | |
info: Executing command deploy | |
info: Analyzing your application dependencies in server.js | |
warn: Local version appears to be old | |
warn: Your package.json version will be incremented for you automatically | |
warn: About to write /Users/Ari/Documents/Ari Website/package.json | |
data: | |
data: { |
NewerOlder