mirror of
https://github.com/house-of-vanity/OutFleet.git
synced 2025-07-06 17:14:07 +00:00
This commit is contained in:
@ -35,7 +35,7 @@ def shadowsocks(request, link):
|
||||
"server_type": acl.server.server_type,
|
||||
}
|
||||
}
|
||||
response = yaml.dump(config, allow_unicode=True)
|
||||
response = json.dumps(config, indent=2)
|
||||
else:
|
||||
config = {
|
||||
"transport": {
|
||||
@ -56,7 +56,7 @@ def shadowsocks(request, link):
|
||||
}
|
||||
}
|
||||
}
|
||||
response = json.dumps(config, indent=2)
|
||||
response = yaml.dump(config, allow_unicode=True)
|
||||
|
||||
AccessLog.objects.create(user=acl.user, server=acl.server.name, action="Success", data=response)
|
||||
|
||||
|
Reference in New Issue
Block a user