Git Product home page Git Product logo

Comments (5)

CareyWang avatar CareyWang commented on June 26, 2024

需要配置反向代理,添加跨域响应 header Access-Control-Allow-Origin: *。另外 sub-web 中似乎少改了一个域名。

from myurls.

JJFJJML avatar JJFJJML commented on June 26, 2024

需要配置反向代理,添加跨域响应 header Access-Control-Allow-Origin: *。另外 sub-web 中似乎少改了一个域名。

这个VPS只用做短网址的功能,sub-web是转换api的那个前端吗?

我是直接git下来之后修改的.env和index里的两个地方的域名

还有哪里需要修改吗?

那个跨区响应需要添加到哪里呢

麻烦了,谢谢您

from myurls.

szsyzx avatar szsyzx commented on June 26, 2024

@JJFJJML 兄弟你搞定了吗

from myurls.

JJFJJML avatar JJFJJML commented on June 26, 2024

@JJFJJML 兄弟你搞定了吗

没有

from myurls.

CareyWang avatar CareyWang commented on June 26, 2024

需要修改 index.html 中 backend,且在 nginx 或其他反向代理服务中配置 header Access-Control-Allow-Origin: *

from myurls.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.