laravel - The local project works correctly, but it does not find the url's server
问题描述
I created a project, it works perfectly in the local. It worked sometimes on the server.
but most of the time on certain pages does not find, for example:
on the login button that I clicked.
Is there a problem with the code or the host that I have provided?
解决方案
您需要在服务器上更新作曲家,这就是为什么有时按钮链接不起作用
Composer update
php artisan key:generate
php artisan cache:clear
删除所有缓存文件,即
storage/framework/views
推荐阅读
- c++ - 主函数中任务的并行编程 - C++
- keras - 没有宽深模型的 TFX 示例
- firebase - 如何使用颤振将字段添加到firebase中的现有文档?
- python-3.x - 当我更改标签的属性时,包含图像的标签不会完全显示?
- sql - 1:M 与 Sequelize 关联的订单问题
- python - 如何使用 ansible api 进行变量替换?
- javascript - 机车滚动水平滚动 - 视差元素在文档加载时的位置不正确
- office-js - Outlook 加载项:如何在回复时删除(或不包括)原始电子邮件
- unity3d - 在 Command 中生成预制件
- r - 如何在 R 中进行参数引导?