master
Dave Winer 9 years ago
parent 5d83cfe03e
commit 7ef487d946

@ -84,6 +84,10 @@ There will always be more work to do here. ;-)
#### Updates
##### v0.60 5/26/15 by DW
When delegating requests, pass redirects back to the client, don't follow them. This was necessary so that that OAuth dance with Twitter in nodeStorage would work.
##### v0.59 5/23/15 by DW
You can now delegate requests to apps running on other ports on your server machine.

@ -1,4 +1,4 @@
var myVersion = "0.59f", myProductName = "PagePark";
var myVersion = "0.60a", myProductName = "PagePark";
//The MIT License (MIT)
@ -290,6 +290,7 @@ function handleHttpRequest (httpRequest, httpResponse) {
function delegateRequest (urlToDelegateTo) {
var theRequest = {
url: urlToDelegateTo,
followRedirect: false, //5/26/15 by DW
headers: {
"X-Forwarded-Host": host,
"X-Forwarded-For": httpRequest.connection.remoteAddress

Loading…
Cancel
Save