File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
docs/content/1.getting-started Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ export default defineNuxtConfig({
1919 modules: [' nuxt-ws' ],
2020
2121 ws: {
22- path : ' /_ws' , // default undefined
22+ route : ' /_ws' , // default undefined
2323 }
2424})
2525```
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ export default defineNuxtConfig({
1313 modules: [' nuxt-ws' ],
1414
1515 ws: {
16- path : ' /_ws' ,
16+ route : ' /_ws' ,
1717 topics: {
1818 defaults: [' session' ],
1919 internals: [' _internal' , ' notifications' ],
@@ -25,8 +25,8 @@ export default defineNuxtConfig({
2525## Options
2626
2727:: field-group
28- :: field { name =" path " type =" string " }
29- Defines the default path for `useWS` to connect to the WebSocket server. - Default to `undefined`
28+ :: field { name =" route " type =" string " }
29+ Defines the default route for `useWS` to connect to the WebSocket server. - Default to `undefined`
3030 ::
3131
3232 :: field { name =" topics.defaults " type =" string[] " }
You can’t perform that action at this time.
0 commit comments