mirror of
https://github.com/qwertyforce/scenery.git
synced 2025-05-30 19:22:29 +00:00
config reverse_search_url
This commit is contained in:
parent
ba39febe00
commit
cca1b8755f
@ -16,5 +16,6 @@ export default {
|
||||
session_secret:"ghuieorifigyfuu9u3i45jtr73490548t7ht",
|
||||
root_path: path.join("D:","scenery"),
|
||||
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("g-recaptcha-response", token);
|
||||
formData.append("mode", mode);
|
||||
axios(`/reverse_search`, {
|
||||
axios(`${config.reverse_search_url}/reverse_search`, {
|
||||
method: "post",
|
||||
data: formData,
|
||||
headers: {
|
||||
|
Loading…
x
Reference in New Issue
Block a user