Skip to content

Commit

Permalink
fix(dev): call dynamic websocket resolver
Browse files Browse the repository at this point in the history
  • Loading branch information
pi0 committed Feb 25, 2024
1 parent c7e9178 commit 7360d27
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/server/dev.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,9 @@ export async function createDevServer(
...(options.ws as CrossWSOptions),
async resolve(info) {
return {
...(await (options.ws as CrossWSOptions)?.resolve?.(info)),
...dynamicWS.hooks,
...(await (options.ws as CrossWSOptions).resolve?.(info)),
...(await dynamicWS.resolve?.(info)),
};
},
};
Expand Down

0 comments on commit 7360d27

Please sign in to comment.