mirror of
https://github.com/qwertyforce/scenery.git
synced 2025-05-31 11:42:35 +00:00
config reverse_search_url
This commit is contained in:
parent
ba39febe00
commit
cca1b8755f
@ -16,5 +16,6 @@ export default {
|
|||||||
session_secret:"ghuieorifigyfuu9u3i45jtr73490548t7ht",
|
session_secret:"ghuieorifigyfuu9u3i45jtr73490548t7ht",
|
||||||
root_path: path.join("D:","scenery"),
|
root_path: path.join("D:","scenery"),
|
||||||
deviant_art_client_id:"client_id",
|
deviant_art_client_id:"client_id",
|
||||||
deviant_art_client_secret:"client_secret"
|
deviant_art_client_secret:"client_secret",
|
||||||
|
reverse_search_url:"http://localhost"
|
||||||
}
|
}
|
@ -28,7 +28,7 @@ export default function ReverseSearch() {
|
|||||||
formData.append("image", Files[0]);
|
formData.append("image", Files[0]);
|
||||||
formData.append("g-recaptcha-response", token);
|
formData.append("g-recaptcha-response", token);
|
||||||
formData.append("mode", mode);
|
formData.append("mode", mode);
|
||||||
axios(`/reverse_search`, {
|
axios(`${config.reverse_search_url}/reverse_search`, {
|
||||||
method: "post",
|
method: "post",
|
||||||
data: formData,
|
data: formData,
|
||||||
headers: {
|
headers: {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user