Skip to content

Commit

Permalink
Use const from api in server guide
Browse files Browse the repository at this point in the history
  • Loading branch information
ai committed Nov 25, 2024
1 parent 3e83837 commit 3a53dde
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion guide/starting/server.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ import { SUBPROTOCOL } from '../api/index.js'

const server = new Server(
Server.loadOptions(process, {
subprotocol: '1.0.0',
subprotocol: SUBPROTOCOL,
supports: '1.x',
fileUrl: import.meta.url
})
Expand Down

0 comments on commit 3a53dde

Please sign in to comment.