我正在尝试将React应用程序部署到azure应用程序服务。它部署成功,但每次我访问应用程序服务的url时,它都会返回404。 我的YAML文件: # Node.js with React
# Build a Node.js project that uses React.
# Add steps that analyze code, save build artifacts, deploy, and more:
# https://docs.microsoft.com/azure/devops/pipelines/languages/javascript
trigger:
- main
我使用websocket使用vue2,在我将服务器移到新服务器之前,它正常工作,我的项目拒绝与通道握手
再生产环节
您可以看到webscoket的日志被阻塞了。
Refused to connect to 'wss://example.com/socket//websocket?vsn=1.0.0' because it violates the following Content Security Policy directive: "default-src 'self' http: https: data: blob: 'unsaf