0
Follow
0
View

Laravel include css file from Mixed Content

dsunzhaogong 注册会员
2023-01-25 06:54

I think the solution is to force https in production :

app->environment('production')) {
            URL::forceScheme('https');
        }
    }
}

another solution is to use ASSET_URL :

.env

ASSET_URL=https://example.com

.env.local

ASSET_URL=http://local.example.com

About the Author

Question Info

Publish Time
2023-01-25 06:54
Update Time
2023-01-25 06:54

Related Question

Css网页透明背景图像[重复]

不支持邮件传输的原因是什么[].Laravel的错误

jmeter:no such file or directory, open 'pdf Data-.pdf

CSS动画在Chrome上工作,但在Safari和IOS上不工作

how to import image via mdx file?

React native 0.69.1 borderRadius从顶部不正常工作,它没有显示border css

VS Code运行程序时显示fatal error: 'stdio.h' file not found

web前端全局css样式操作

Spirograph动画HTML CSS Only

顺风css溢出下拉问题