Akryum / Akryum/vue-cli-plugin-apollo

Best way to use without Express Middleware?

未关闭
#83 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
question
主要语言
JavaScript
星标
477
派生
109
PR 合并指标
30 天内没有已合并 PR

描述

I have a separate Express server on port 3000 that deals with standard app routes, but I would like to have any GraphQL requests come through a `/graphql` route and be proxied to Apollo (running on 4000). I'm using `http-proxy` but it does not seem to want to connect (timeout with bad request).

There has to be something wrong with how I'm trying to set this up. Does anyone have experience running a custom server alongside Apollo?

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。