Skip to content

Instantly share code, notes, and snippets.

@skiph
Created May 4, 2017 04:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save skiph/54db3315519ff6e30dbf1ef43e6c53fc to your computer and use it in GitHub Desktop.
Save skiph/54db3315519ff6e30dbf1ef43e6c53fc to your computer and use it in GitHub Desktop.
API Key Proxy - initial app.use() all
// preprocess all proxy requests
app.use((req, res, next) => {
// just pass through each request
//log_req(req);
next();
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment