Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

hwhat

  • Loading branch information...
commit ae5e9f1ef4aecb5b5c1a1ec8bfa6cc4de5a9fd0b 1 parent c34b5f1
@holman authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 index.js
View
4 index.js
@@ -55,7 +55,7 @@ server.get(new RegExp("^/(.*)$"), function(request, response, match) {
else
msg = '"FUCK YEAH \n' + match.toUpperCase() + '"'
- output = "fuck-" + Math.floor(Math.random(10000000)*10000000) + '.jpg'
+ output = "/tmp/fuck-" + Math.floor(Math.random(10000000)*10000000) + '.jpg'
download(match, output, function(){
args = [
output,
@@ -77,4 +77,4 @@ server.get(new RegExp("^/(.*)$"), function(request, response, match) {
})
})
-server.listen(80, "localhost")
+server.listen(process.env.PORT, "localhost")
Please sign in to comment.
Something went wrong with that request. Please try again.