Enable apiProxy.enabled
and pushState
without making apiProxy.prefix
required
#172
Labels
apiProxy.enabled
and pushState
without making apiProxy.prefix
required
#172
I like how the dev server provided by Lineman supports server-side APIs and HTML5 pushState. The increase in my productivity is beyond what words can describe. Thanks to the wonderful team behind the project.
But there's one minor inflexibility when both API proxy and HTML5 pushState emulation are both used -
apiProxy.prefix
must be supplied. I understand that the prefix is needed to determine whether a request should be forwarded to the API proxy. Instead of using a prefix, I would like to propose forwarding only requests that are XmlHttpRequest and serve index.html for ordinary HTTP requests.Any thoughts?
The text was updated successfully, but these errors were encountered: