http -> https in README

This commit is contained in:
x3 2024-02-25 20:31:58 +01:00
parent da0aa281c4
commit bbcf77abde
Signed by: x3
GPG Key ID: 7E9961E8AD0E240E
1 changed files with 4 additions and 4 deletions

View File

@ -12,7 +12,7 @@ Example config.json
"DBpath": "/var/lib/ngfshare/database.db", "DBpath": "/var/lib/ngfshare/database.db",
"StoreDir": "/var/lib/ngfshare/store", "StoreDir": "/var/lib/ngfshare/store",
"HTMLTemplateDir": "/var/lib/ngfshare/templates", "HTMLTemplateDir": "/var/lib/ngfshare/templates",
"UrlPrefix": "http://share.yourdomain.xyz", "UrlPrefix": "https://share.yourdomain.xyz",
"IdLen": 5, "IdLen": 5,
"AuthKeyLen": 30 "AuthKeyLen": 30
} }
@ -52,9 +52,9 @@ This returns a json dict
{ {
"id": "A5HjC", "id": "A5HjC",
"filename": "img.png", "filename": "img.png",
"url": "http://share.yourdomain.xyz/-A5HjC/img.png", "url": "https://share.yourdomain.xyz/-A5HjC/img.png",
"url_short": "http://share.yourdomain.xyz/-A5HjC", "url_short": "https://share.yourdomain.xyz/-A5HjC",
"delete_url": "http://share.yourdomain.xyz/api/delete/A5HjC" "delete_url": "https://share.yourdomain.xyz/api/delete/A5HjC"
} }
``` ```