Pi66

pi66.xyz
My personal website.
git clone https://git.pi66.xyz/pi66.xyz

← back to log

fix: use relative path for about.json

author: pi66
date: 2026-07-03 23:42
hash: 62b124ab89ff4029669efb343409be1b02e38503

Diffstat:

M

build/plugins.py
2 +++++++++++++++---------------
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
diff --git a/build/plugins.py b/build/plugins.py
index e6f3592..81027c1 100644
--- a/build/plugins.py
+++ b/build/plugins.py
@@ -1,5 +1,5 @@
 from json import loads

-about = loads(open("/srv/www/pi66.xyz/build/data/about.json", "r").read())
+about = loads(open("./build/data/about.json", "r").read())

 my_tools = loads(open("./build/data/my_tools.json", "r").read())