transfer project in github
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
const database = require('./../server/database')
|
||||
const wss = require('../server/socket/init')
|
||||
|
||||
export default function () {
|
||||
this.nuxt.hook('listen', (server, { host, port }) => {
|
||||
wss(server)
|
||||
})
|
||||
}
|
||||
Reference in New Issue
Block a user