ui: 比赛广播消息时显示发送者uid

This commit is contained in:
undefined committed 2021-06-13 19:13:10 +08:00
1 parent 923d10fb84
commit 549c68cfa4
7 files changed
+35 -27

No files matched your search

+3 -3
View File
@@ -166,8 +166,8 @@ apt-get -qq update && apt-get -q install -y mongodb-org`, { retry: true }],
{
init: '正在安装沙箱 / Installing sandbox',
operations: [
[`curl -fSL ${_SANDBOX_[retry % _SANDBOX_.length]} -o /usr/bin/sandbox`, { retry: true }],
'chmod +x /usr/bin/sandbox',
[`curl -fSL ${_SANDBOX_[retry % _SANDBOX_.length]} -o /usr/bin/hydro-sandbox`, { retry: true }],
'chmod +x /usr/bin/hydro-sandbox',
],
},
{
@@ -195,7 +195,7 @@ apt-get -qq update && apt-get -q install -y mongodb-org`, { retry: true }],
`pm2 start "MINIO_ACCESS_KEY=${MINIO_ACCESS_KEY} MINIO_SECRET_KEY=${MINIO_SECRET_KEY} minio server /data/file" --name minio`,
'pm2 start "mongod --auth --bind_ip 0.0.0.0" --name mongodb',
() => sleep(1000),
'pm2 start sandbox',
'pm2 start hydro-sandbox',
'pm2 start hydrooj',
'pm2 startup',
'pm2 save',