Skip to content

Commit e182b64

Browse files
committed
replace "OK" default http response with "Welcome to Hocuspocus!" to avoid confusion when using custom route handlers
1 parent acb29fe commit e182b64

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/server/src/Server.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ export class Server {
105105

106106
// default response if all prior hooks don't interfere
107107
response.writeHead(200, { 'Content-Type': 'text/plain' })
108-
response.end('OK')
108+
response.end('Welcome to Hocuspocus!')
109109
} catch (error) {
110110
// if a hook rejects and the error is empty, do nothing
111111
// this is only meant to prevent later hooks and the

0 commit comments

Comments
 (0)