Skip to content

Commit 2d210ce

Browse files
authored
Merge pull request #186 from huzairsaputra/patch-1
fix: Mixed Content problem with updating minifiedAjax method and get current url based on http or https scheme
2 parents 3aaf1c1 + 2cc4ca2 commit 2d210ce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Html/Options/HasAjax.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ public function minifiedAjax(
142142
$this->ajax = [];
143143
$appendData = $this->makeDataScript($data);
144144

145-
$this->ajax['url'] = empty($url) ? url()->full() : $url;
145+
$this->ajax['url'] = empty($url) ? url()->current() : $url;
146146
$this->ajax['type'] = 'GET';
147147
if (! isset($this->attributes['serverSide']) || $this->attributes['serverSide']) {
148148
$this->ajax['data'] = 'function(data) {

0 commit comments

Comments
 (0)