mirror of
https://gitlab.com/MrFry/mrfrys-node-server
synced 2025-04-01 20:24:18 +02:00
Workers can now search in multiple specified db-s
This commit is contained in:
parent
68dcbff846
commit
19b8fdc5ab
5 changed files with 57 additions and 52 deletions
|
@ -1,5 +1,6 @@
|
|||
#!/bin/bash
|
||||
url=$(head -n 1 ../serverAddress)
|
||||
# url='https://api.frylabs.net'
|
||||
echo "Server url: $url"
|
||||
|
||||
if [ "$#" -ne 1 ]; then
|
||||
|
@ -13,6 +14,7 @@ else
|
|||
echo "$data"
|
||||
../bin/hr.sh
|
||||
curl \
|
||||
--cookie "sessionID=e0ac328d-86cc-4dbf-a00b-213bec6011e7" \
|
||||
-H "Content-Type: application/json" \
|
||||
-X POST --data "$data" \
|
||||
"$url/isAdding"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue