jqhph / dcat-admin

🔥 基于 Laravel 的后台系统构建工具 (Laravel Admin),使用很少的代码快速构建一个功能完善的高颜值后台系统,内置丰富的后台常用组件,开箱即用,让开发者告别冗杂的HTML代码
http://www.dcatadmin.com
MIT License
3.87k stars 704 forks source link

表单提交请求一直是http #2132

Open egege opened 1 month ago

egege commented 1 month ago

Description:

虽然我已经将在env里配置ADMIN_HTTPS=true,但提交表单时还是发送http请求。

Steps To Reproduce:

  1. 配置好的.env

    APP_URL=https://r-test.111.com.cn
    ADMIN_HTTPS=true

    并清理掉模板缓存

    php artisan view:clear
  2. 页面表单请求还是http

    截屏2024-08-21 15 11 36
sannchii commented 1 month ago

确认admin.php配置中 'https' => env('ADMIN_HTTPS', false) 为相同的

yi4396 commented 4 weeks ago

改配置不是应该执行php artisan config:cache 吗?