Permalink
Browse files

server routing

  • Loading branch information...
1 parent 55cdea6 commit 456e7daed34cf83ebbe969e0b191035b320a7945 @danja committed Feb 28, 2012
Showing with 10 additions and 1 deletion.
  1. +1 −1 .settings/.jsdtscope
  2. +9 −0 misc/router.js
View
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
- <classpathentry excluding="src/www/lists/js/jquery-1.5.2.min.js" kind="src" path=""/>
+ <classpathentry excluding="src/www/js/jquery-1.5.2.min.js|src/www/lists/js/jquery-1.5.2.min.js" kind="src" path=""/>
<classpathentry kind="con" path="org.eclipse.wst.jsdt.launching.JRE_CONTAINER"/>
<classpathentry kind="con" path="org.eclipse.wst.jsdt.launching.baseBrowserLibrary"/>
<classpathentry kind="output" path=""/>
View
@@ -0,0 +1,9 @@
+var options = {
+ router: {
+ // 'pragmatron.org': '127.0.0.1:8888',
+ 'semtext.org': '127.0.0.1:8080'
+ }
+};
+
+var proxyServer = httpProxy.createServer(options);
+proxyServer.listen(80);

0 comments on commit 456e7da

Please sign in to comment.