mirror of
https://github.com/gradio-app/gradio.git
synced 2025-01-30 11:00:11 +08:00
share redirect error
This commit is contained in:
parent
ad47ea45a1
commit
9bea27c98b
@ -253,7 +253,7 @@ function gradio_url(config, url, target, example_file_path) {
|
||||
return gradio(config, function(data, action) {
|
||||
return new Promise((resolve, reject) => {
|
||||
$.ajax({type: "POST",
|
||||
url: url + action,
|
||||
url: url + action + "/",
|
||||
data: JSON.stringify({"data": data}),
|
||||
dataType: 'json',
|
||||
contentType: 'application/json; charset=utf-8',
|
||||
|
@ -253,7 +253,7 @@ function gradio_url(config, url, target, example_file_path) {
|
||||
return gradio(config, function(data, action) {
|
||||
return new Promise((resolve, reject) => {
|
||||
$.ajax({type: "POST",
|
||||
url: url + action,
|
||||
url: url + action + "/",
|
||||
data: JSON.stringify({"data": data}),
|
||||
dataType: 'json',
|
||||
contentType: 'application/json; charset=utf-8',
|
||||
|
Loading…
Reference in New Issue
Block a user