20250113.1736802902
This commit is contained in:
parent
ba47a5917e
commit
d19e1afc8c
2 changed files with 4 additions and 1 deletions
|
@ -14,6 +14,10 @@ journals:
|
||||||
display_format: markdown
|
display_format: markdown
|
||||||
encrypt: true
|
encrypt: true
|
||||||
journal: /home/fz0x1/.diary/diary.jrnl
|
journal: /home/fz0x1/.diary/diary.jrnl
|
||||||
|
test:
|
||||||
|
display_format: markdown
|
||||||
|
encrypt: false
|
||||||
|
journal: /home/fz0x1/test.jrnl
|
||||||
linewrap: 80
|
linewrap: 80
|
||||||
tagsymbols: '@'
|
tagsymbols: '@'
|
||||||
template: false
|
template: false
|
||||||
|
|
|
@ -56,7 +56,6 @@ if [[ "$connection" = 0 ]]; then
|
||||||
manual_geo
|
manual_geo
|
||||||
else
|
else
|
||||||
http_code=$(curl -H "Authorization: Basic ${GEO_SERVER_AUTH}" -s -o /dev/null -w "%{http_code}" "${GEO_SERVER_URL}?action=diary&type=get_geo")
|
http_code=$(curl -H "Authorization: Basic ${GEO_SERVER_AUTH}" -s -o /dev/null -w "%{http_code}" "${GEO_SERVER_URL}?action=diary&type=get_geo")
|
||||||
echo "$http_code"
|
|
||||||
if [ "$http_code" -ne 200 ]; then
|
if [ "$http_code" -ne 200 ]; then
|
||||||
echo "Connection problem...\n"
|
echo "Connection problem...\n"
|
||||||
manual_geo
|
manual_geo
|
||||||
|
|
Loading…
Add table
Reference in a new issue