Skip to content
Browse files

Added file containing assets required by node.js server i.e.css and J…

…avaScript files and index.html file
  • Loading branch information...
1 parent 6379b66 commit 1cfd38dcfec1132e4f52f3d6ed04ad1e2c456ee0 @randomsilver randomsilver committed
Showing with 17 additions and 0 deletions.
  1. +17 −0 js/server.js
View
17 js/server.js
@@ -0,0 +1,17 @@
+HOST = null; // localhost
+PORT = 8001;
+
+var fu = require("./fu"),
+ sys = require("sys"),
+ url = require("url"),
+ qs = require("querystring");
+
+fu.listen(PORT, HOST);
+
+fu.get("/index.html", fu.staticHandler("index.html"));
+fu.get("/css/style.css", fu.staticHandler("css/style.css"));
+fu.get("/js/processing.js", fu.staticHandler("js/processing.js"));
+fu.get("/js/jsOAuth-1.3.1.js", fu.staticHandler("js/jsOAuth-1.3.1.js"));
+
+
+

0 comments on commit 1cfd38d

Please sign in to comment.
Something went wrong with that request. Please try again.