New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
开发环境ok,部署到服务器提示“登录已过期” #92
Comments
也试过了,不行。不知道是不是prod.env.js或者index.js里的相关路径写得不对了?博主是直接按照目前最新源码部署到Tomcat的吗?谢谢!! |
看下ShiroFilterFactoryBean的配置呢,而且首页地址不需要 /index吧 |
最终在博主的指导下,解决了!! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
目前部署步骤:
1、按历史issues里面的做法,npm run build;
1.1 除了修改配置文件外,前端其他代码并未修改;
2、将dist目录下的文件,放在resources文件中,然后打war包到Tomcat部署;
3、访问返回如下提示:
{"msg":"登陆已过期,请重新登陆","code":"20011"}
请问我哪里不对呢?非常感谢!!
The text was updated successfully, but these errors were encountered: