mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-05 17:51:40 +09:00
Always send AJAX requests to the same domain as the current page
This commit is contained in:
parent
ccc0417a38
commit
7a6dad9237
1 changed files with 2 additions and 2 deletions
|
|
@ -187,7 +187,7 @@
|
|||
// Send the AJAX request.
|
||||
try {
|
||||
$.ajax({
|
||||
url : url,
|
||||
url : XE.URI(request_uri).pathname(),
|
||||
type : "POST",
|
||||
dataType : "json",
|
||||
data : params,
|
||||
|
|
@ -344,7 +344,7 @@
|
|||
$.ajax({
|
||||
type: "POST",
|
||||
dataType: "json",
|
||||
url: request_uri,
|
||||
url: XE.URI(request_uri).pathname(),
|
||||
data: params,
|
||||
processData: (action !== 'raw'),
|
||||
headers : headers,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue