Ember CLI with Multiple Proxies

前端 未结 1 572
情歌与酒
情歌与酒 2021-02-15 15:02

The Problem:

I have an Ember CLI Application that will consume multiple APIs, which I need to proxy to in development mode.

Background:<

1条回答
  •  栀梦
    栀梦 (楼主)
    2021-02-15 16:00

    var proxyPath = 'myapp/api/v1';
    

    You're missing a / in the beginning of the string ;)

    0 讨论(0)
提交回复
热议问题