Akryum / Akryum/vue-cli-plugin-ssr

Problem with CORS policy when VueJs App with revers Proxy

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

描述

Hello,
I have a problem with cors policy when Vue Js app is in served by a reverse proxy (rack-reverse-proxy).

I can't access to my main.js because a content security policy.
The problem appear just in server side, not in client side.

My Vue.js App is served by proxy with port localhost:3000.

Do you know how to fix it?

Capture d’écran 2019-03-22 à 14 54 46

Capture d’écran 2019-03-22 à 14 56 09

Thanks a lot :)

贡献指南

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

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

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