This commit is contained in:
syuilo 2018-10-08 09:02:11 +09:00
parent 9b3ee7cae6
commit 87f574f6cf

View file

@ -31,7 +31,7 @@ module.exports = (server: http.Server) => {
payload = payload.body;
}
if (type.startsWith('api:')) {
type = payload.type.replace('api:', 'api-res:');
type = type.replace('api:', 'api-res:');
}
connection.send(JSON.stringify({
type: type,