Skip to content
This repository has been archived by the owner on Aug 5, 2020. It is now read-only.

Better support for api proxy #177

Merged
merged 2 commits into from
May 19, 2016
Merged

Better support for api proxy #177

merged 2 commits into from
May 19, 2016

Commits on May 19, 2016

  1. Better support for api proxy

    In the previous version of `gluestick-shared` when you made a request to
    "/api" without a base URL, node had no idea what the actual URL to
    request was. 0.3.9 resolves this by setting baseURL on http clients that
    are set up with a request object.
    
    We were also setting `changeOrigin:true` on the dev mode proxy. This was
    making it so that the HTTP_HOST that the server would get would be
    localhost:8880 instead of the url that you are hitting with. Now the
    proper HTTP_HOST will be sent through
    toddw committed May 19, 2016
    Configuration menu
    Copy the full SHA
    391c8b8 View commit details
    Browse the repository at this point in the history
  2. bump shared-version

    toddw committed May 19, 2016
    Configuration menu
    Copy the full SHA
    1c23f26 View commit details
    Browse the repository at this point in the history