Comments (2)
7001访问的是server的静态页面,里面的还是v1.0的内容。没有带oauth的。
可以使用
npm run build
把v2.0带oauth的静态页面编译一下。
再使用7001端口访问,就可以保持登录状态了。
如果还有问题,请持续跟进。谢谢!
from egg-restapi-module-tool.
没有进一步的回复。
from egg-restapi-module-tool.
Related Issues (20)
- Do dva have plans to upgrade to 2.X? HOT 2
- 想请教下为什么登录认证用的egg-oauth2-server,而不是egg-passport呢 HOT 1
- update to egg2.0
- 麻烦问一下,用最新的代码启动项目通过8080 访问前端有跨域问题怎么解决? HOT 5
- 前端界面登录报错401 HOT 5
- 运行了 npm run dev 登录不进去 HOT 1
- api请求数据库速度如何? HOT 2
- 运行后报错请问怎么处理 HOT 7
- npm i 出错 HOT 2
- 登陆后没有调用api? HOT 2
- npm run dev 报错 HOT 1
- 新增模块报错 HOT 3
- 启动后登陆后台提示 Unauthorized request: no authentication given HOT 2
- Can not start HOT 3
- Client does not support authentication protocol requested by server; consider upgrading MySQL client HOT 1
- testdb.sql HOT 1
- Failed to load resource: net::ERR_CONNECTION_TIMED_OUT HOT 1
- 现在正常安装后,npm run server、 HOT 1
- 现在正常安装后,npm run server 命令会直接显示报错 HOT 1
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 egg-restapi-module-tool.