Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/sherlock/commit/e5ad3c471b5090c1b025e6c7e99f3bddaf776858 You should set ROOT_URL correctly, otherwise the web may not work correctly.

fix incorrect path, closes

pull/2146/head
Siddharth Dushantha 11 months ago
parent 945a364970
commit e5ad3c471b

@ -4,7 +4,7 @@
import json
# Read the data.json file
with open("../sherlock/resources/data.json", "r", encoding="utf-8") as data_file:
with open("sherlock/resources/data.json", "r", encoding="utf-8") as data_file:
data: dict = json.load(data_file)
# Removes schema-specific keywords for proper processing
@ -23,7 +23,7 @@ with open("../sites.md", "w") as site_file:
site_file.write(f"1. ![](https://www.google.com/s2/favicons?domain={url_main}) [{social_network}]({url_main}) {is_nsfw}\n")
# Overwrite the data.json file with sorted data
with open("../sherlock/resources/data.json", "w") as data_file:
with open("sherlock/resources/data.json", "w") as data_file:
sorted_data = json.dumps(data, indent=2, sort_keys=True)
data_file.write(sorted_data)
data_file.write("\n")

Loading…
Cancel
Save