mirror of
https://github.com/house-of-vanity/OutFleet.git
synced 2026-11-08 16:58:50 +00:00
1 parent
7527ddfcb9
commit
c24c35f443
1 file changed
+2
-2
+2
-2
@@ -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