Skip to content

Commit 388f755

Browse files
committed
fix: 🐛 update uws default paths
1 parent 6ffa7ba commit 388f755

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/server/uws/RpcApp.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ export class RpcApp<Ctx extends ConnectionContext> implements Printable {
113113
return this;
114114
}
115115

116-
public enableHttpRpc(path = '/rpc'): this {
116+
public enableHttpRpc(path = '/rx'): this {
117117
this.routeRaw('POST', path, async (ctx: Ctx) => {
118118
try {
119119
const res = ctx.res!;
@@ -143,7 +143,7 @@ export class RpcApp<Ctx extends ConnectionContext> implements Printable {
143143
return this;
144144
}
145145

146-
public enableWsRpc(path = '/rpc'): this {
146+
public enableWsRpc(path = '/rx'): this {
147147
const maxBackpressure = 4 * 1024 * 1024;
148148
const augmentContext = this.options.augmentContext ?? noop;
149149
const options = this.options;

0 commit comments

Comments
 (0)