1
0
mirror of https://github.com/hotomoe/hotomoe synced 2024-11-29 07:18:13 +09:00
This commit is contained in:
syuilo 2018-10-08 09:02:11 +09:00
parent e00b5f11cb
commit 65e46b5cec
No known key found for this signature in database
GPG Key ID: BDC4C49D06AB9D69

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,