Giter VIP home page Giter VIP logo

Comments (4)

Doyouhavefreestyle avatar Doyouhavefreestyle commented on August 26, 2024

问题描述补充:
1、有按逛网说的流程引入脚本文件
2、开发环境、测试环境都可以(域名不同,但是却没有发生跨域问题,这个是在没有配置config.json情况下,但是正式环境却不行,所以考虑配置config.json)

from page-spy-web.

wangdashuaihenshuai avatar wangdashuaihenshuai commented on August 26, 2024

问题描述补充: 1、有按逛网说的流程引入脚本文件 2、开发环境、测试环境都可以(域名不同,但是却没有发生跨域问题,这个是在没有配置config.json情况下,但是正式环境却不行,所以考虑配置config.json)

怀疑是测试和生产上经过的链路会有不同,可能是生产上的经过nginx 或者其他反向代理服务器,对跨域进行了处理,可以检查一下中间链路有没有问题。

from page-spy-web.

Doyouhavefreestyle avatar Doyouhavefreestyle commented on August 26, 2024

在项目正式环境的域名nginx有让后台配置做跨域处理,还不行

from page-spy-web.

wangdashuaihenshuai avatar wangdashuaihenshuai commented on August 26, 2024

在项目正式环境的域名nginx有让后台配置做跨域处理,还不行

可以检查看一下 nginx 跨域配置是否正确。

from page-spy-web.

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.