Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
N
node-http-proxy
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
node-http-proxy
Commits
b8f84994
Commit
b8f84994
authored
Aug 09, 2011
by
Dominic Tarr
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[fix] fix syntax errors. close issue #86
parent
2626308c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
examples/package.json
examples/package.json
+1
-1
examples/url-middleware.js
examples/url-middleware.js
+1
-1
No files found.
examples/package.json
View file @
b8f84994
...
...
@@ -7,6 +7,6 @@
,
"connect-gzip"
:
"0.1"
,
"connect-jsonp"
:
"0.0.5"
,
"connect-restreamer"
:
"1"
,
"proxy-by-url"
:
"
0.0.0
"
,
"proxy-by-url"
:
"
>= 0.0.1
"
}
}
\ No newline at end of file
examples/url-middleware.js
View file @
b8f84994
...
...
@@ -41,7 +41,7 @@ httpProxy.createServer(
'
/hello
'
:
{
port
:
9000
,
host
:
'
localhost
'
},
'
/charlie
'
:
{
port
:
80
,
host
:
'
charlieistheman.com
'
},
'
/google
'
:
{
port
:
80
,
host
:
'
google.com
'
}
})
;
})
).
listen
(
8000
);
//
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment