Comments (31)
没权限所以跳转不了,是账号密码登录吗?
from tomato-work.
对,用的test 123456登录的
from tomato-work.
因为github那个登录报500,所以就没有用这个,server端已经部署好了
from tomato-work.
我看local接口请求数据已经成功了
from tomato-work.
就是history.replace这没有跳转
from tomato-work.
这个需要我怎么处理下才可以跳转
from tomato-work.
你部署服务器,那客户端是连的本地接口?
from tomato-work.
对,我本地启动的server的项目的npm run dev然后客户端链接的本地
from tomato-work.
from tomato-work.
那就是数据库没有这个账号,你直接用GITHUB 授权登录,应该是没问题的。
from tomato-work.
对,我刚才看了数据库还没有数据了,github这块我没有动,用的还是你的配置,需要我单独配置吗
from tomato-work.
第一次使用GITHUB授权登录后之后就可以使用账号密码登录了。
from tomato-work.
from tomato-work.
from tomato-work.
被墙的原因。
151.101.72.249 github.global.ssl.fastly.net
13.250.177.223 github.com
将上面的加到 C:\Windows\System32\drivers\etc\hosts 上去。
from tomato-work.
我去试试
from tomato-work.
我添加了但是还是不行,还是那个错误,需要重启项目吗
from tomato-work.
from tomato-work.
你是不是没改代理地址? .env 文件
from tomato-work.
from tomato-work.
from tomato-work.
from tomato-work.
from tomato-work.
APP_PROXY=http://localhost:7003
from tomato-work.
下面的端口好是客户端的端口号对吧
from tomato-work.
下面是启动端口。
from tomato-work.
from tomato-work.
我发现我本地不开vpn根本访问不了github
from tomato-work.
嗯,那就是被墙了。现在好了吗, 我这边从新拉项目起了下都OK。
from tomato-work.
开了以后可以访问,但是使用github授权就报这个
from tomato-work.
稍等,我把代码拉下来试试
from tomato-work.
Related Issues (16)
- 不错,正好在学react HOT 3
- Login through Github failed HOT 3
- Github 登陆失败 HOT 5
- 主題切換的功能 HOT 2
- antd汉化 HOT 1
- 升级到react-routev6应该怎么处理? HOT 3
- private-route组件中如何接受一个class类型的组件 HOT 7
- 点击日志管理会报错 HOT 1
- @vitejs/plugin-react-refresh 这个已经过期了 HOT 1
- @vitejs/plugin-react-refresh 插件失效 换官方plugin-react
- 退出登录时使用了location.reload(),开发体验极差,建议优化
- github登录失败 HOT 4
- redux HOT 5
- 项目启动 HOT 9
- 问题 HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tomato-work.