refactor: reuse vite's websocket

This commit is contained in:
Arash Sheyda
2023-06-18 12:20:57 +03:00
parent 2ba8bdadfc
commit aaef56cb29
9 changed files with 122 additions and 100 deletions

View File

@ -1,3 +1,3 @@
export const PATH = '/__nuxt_mongoose__'
export const PATH_ENTRY = `${PATH}/entry`
export const PATH_CLIENT = `${PATH}/client`
export const WS_EVENT_NAME = 'nuxt:devtools:mongoose:rpc'