mirror of
https://github.com/wassname/stampy-chat.git
synced 2026-09-09 11:36:23 +08:00
move from stampy.ai to aisafety.info
This commit is contained in:
+1
-1
@@ -70,7 +70,7 @@ def human(id):
|
||||
# a regex for now since we really don't need to parse everything out then
|
||||
# re-serialize it for something this simple.
|
||||
# <a href=\"/?state=6207\"> -> <a href=\"https://stampy.ai/?state=6207\">
|
||||
text = re.sub(r'<a href=\\"/\?state=(\d+)\\">', r'<a href=\"https://stampy.ai/?state=\1\">', r.text)
|
||||
text = re.sub(r'<a href=\\"/\?state=(\d+)\\">', r'<a href=\"https://aisafety.info/?state=\1\">', r.text)
|
||||
|
||||
return Response(text, mimetype='application/json')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user