linemanjs / lineman

Lineman helps you build fat-client JavaScript apps. It produces happiness by building assets, mocking servers, running specs on every file change
MIT License
1.18k stars 83 forks source link

api proxy always uses changeOrigin option #320

Closed chringwer closed 9 years ago

chringwer commented 9 years ago

The current implementation would not let me disable the changeOrigin feature in http-proxy via application config. The expression in server.coffee did evaluate to true in either case.

searls commented 9 years ago

Ah, this one has bitten me before. Apologies, my Ruby was showing. Good catch and sorry for the inconvenience.

searls commented 9 years ago

Landed in 0.34.1