Coder Social home page Coder Social logo

提示Network Error about vue-mmplayer HOT 7 CLOSED

maomao1996 avatar maomao1996 commented on May 14, 2024
提示Network Error

from vue-mmplayer.

Comments (7)

maomao1996 avatar maomao1996 commented on May 14, 2024

自己看下控制台的信息,还有 api 项目的 log 打印

from vue-mmplayer.

Li-xp avatar Li-xp commented on May 14, 2024

通过在Index.html中加入解决了控制台输出This request has been blocked; the content must be served over HTTPS.错误的问题,但还是提示Network Error。

from vue-mmplayer.

maomao1996 avatar maomao1996 commented on May 14, 2024

浏览器打开 api 的服务看看有没有启动好

from vue-mmplayer.

Li-xp avatar Li-xp commented on May 14, 2024

API服务正常启动

from vue-mmplayer.

Li-xp avatar Li-xp commented on May 14, 2024

分析控制台可以得出在运行过程中请求的接口地址为“域名:3000”,但是我在.env中写入的接口为"IP:3000",就很奇怪

from vue-mmplayer.

maomao1996 avatar maomao1996 commented on May 14, 2024

只要你浏览能够正常访问 api,env 中的地址和你的 api 服务地址一致就不会出现 Network Error

自己好好检查下哪里写的不对吧

from vue-mmplayer.

Li-xp avatar Li-xp commented on May 14, 2024

问题已解决。为后端接口部署SSL

from vue-mmplayer.

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.