Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Making proxy work #111

Merged
merged 4 commits into from
Aug 7, 2015
Merged

Making proxy work #111

merged 4 commits into from
Aug 7, 2015

Conversation

nicola
Copy link
Contributor

@nicola nicola commented Aug 3, 2015

  • Proxy working
  • basic test
  • further tests
  • make sure cors works on proxy requests

@nicola
Copy link
Contributor Author

nicola commented Aug 4, 2015

Interesting travis might have some proxy for external resources, this needs further testing

@nicola nicola changed the title proxy now works, needs more tests Making proxy work Aug 7, 2015
ldp.xssProxy = argv.xssProxy;
ldp.proxyFilter = regexp().start(ldp.xssProxy).toRegExp();
ldp.proxy = argv.proxy;
ldp.proxyFilter = regexp().start(ldp.proxy).toRegExp();
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Quick question: what does proxyFilter do, and why do we need a filter for proxy?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good question, removing that variable. It created a regex based on ldp.proxy, however express handles paths as regexp already, so no need for that

@deiu
Copy link
Contributor

deiu commented Aug 7, 2015

r+

deiu pushed a commit that referenced this pull request Aug 7, 2015
@deiu deiu merged commit 71eb537 into nodeSolidServer:master Aug 7, 2015
@deiu deiu removed the in progress label Aug 7, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants