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

Proxy #2

Merged
merged 8 commits into from
Aug 1, 2018
Merged

Proxy #2

merged 8 commits into from
Aug 1, 2018

Conversation

dlongley
Copy link
Member

No description provided.

@dlongley dlongley changed the base branch from master to dev July 31, 2018 21:19
lib/config.js Outdated
// TODO: mount any `.route` off of '/document-storage/stores/XXX' for
// optimization purposes
// TODO: deprecate `endpoints` because it is confusing, these are configs
// for individual storage ... where each one of *hose* has a `route` (endpoint)
Copy link
Member

Choose a reason for hiding this comment

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

hose => those

lib/index.js Outdated
@@ -621,6 +637,45 @@ async function _setupEndpoint({app, endpoint}) {
}
}));

app.options(docPath, cors());
Copy link
Member

Choose a reason for hiding this comment

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

use proxy path

@davidlehn
Copy link
Member

Should add a proxy test for a url that doesn't exist to check 404 passes through.

@dlongley dlongley merged commit f2e5fe7 into dev Aug 1, 2018
@dlongley dlongley deleted the proxy branch August 1, 2018 17:45
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.

None yet

2 participants