Commit 59798a89 authored by Kevin Yumang's avatar Kevin Yumang

SERV-2286 - Mixed content fixes

parent 36128b30
...@@ -200,7 +200,7 @@ ...@@ -200,7 +200,7 @@
*/ */
else else
{ {
$url = url('/ceetrox/sidekick/resource/private') . '/' . $basecode; $url = secure_url('/ceetrox/sidekick/resource/private') . '/' . $basecode;
} }
/* /*
......
...@@ -41,7 +41,7 @@ ...@@ -41,7 +41,7 @@
*/ */
static function generateCode($path) static function generateCode($path)
{ {
return url('ceetrox/sidekick/resource/private/'.base64_encode(json_encode([ return secure_url('ceetrox/sidekick/resource/private/'.base64_encode(json_encode([
'path' => $path, 'path' => $path,
'code' => md5(env('APP_KEY') . $path) 'code' => md5(env('APP_KEY') . $path)
]))); ])));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment