Giter Club home page Giter Club logo

Comments (5)

chemzqm avatar chemzqm commented on June 4, 2024

跨域是浏览器的安全限制,有 html 头部可以移除这个限制?
如果可以的话建议使用 chrome 提供的 webview 标签, 官方工具就是通过 webview 标签嵌套的, 但是只能在 chrome 插件中使用。

我可以让 WEPT 支持做为中间件使用,这样你可以把它整合到自己的服务里面,就没有跨域问题了。

from wept.

leinue avatar leinue commented on June 4, 2024

@chemzqm 希望wept作为中间件使用,期待开放更多的参数

from wept.

leinue avatar leinue commented on June 4, 2024

@chemzqm 自定义HTML头部的目的是加入我想用的script标签,这样我可以设置domain 然后就没有跨域问题了,因为wept启动了另外的端口,只要一级域名相同,然后设置domain就可以了

from wept.

chemzqm avatar chemzqm commented on June 4, 2024

需要重新设计下配置的实现方式,现在只暴露了 server 对象局限性比较大。

from wept.

chemzqm avatar chemzqm commented on June 4, 2024

WEPT 整体架构需要重新设计才可以支持灵活的 api 接口,我目前没有想出很好的设计方案。

from wept.

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.