Use Laravel url helpers to improve functionality without dns name (#10227)

* Use Laravel url helpers to improve functionality without dns name
Not exhaustive...

* Fix Url generated urls

* Bump js version
This commit is contained in:
Tony Murray
2019-05-20 11:47:34 -05:00
committed by GitHub
parent 604a200891
commit e9ae08d5db
22 changed files with 66 additions and 69 deletions

View File

@@ -125,7 +125,7 @@ $tmp_output .= '
range: "' . (isset($_POST['range']) ? mres($_POST['range']) : '') . '"
};
},
url: "ajax/table/graylog",
url: "' . url('/ajax/table/graylog') . '",
});
init_select2("#stream", "graylog-streams", {}, "' . (isset($_POST['stream']) ? mres($_POST['stream']) : '') . '");