Skip to content

Commit

Permalink
fix: 🐛 update uws default paths
Browse files Browse the repository at this point in the history
  • Loading branch information
streamich committed Oct 5, 2024
1 parent 6ffa7ba commit 388f755
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/server/uws/RpcApp.ts
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ export class RpcApp<Ctx extends ConnectionContext> implements Printable {
return this;
}

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

public enableWsRpc(path = '/rpc'): this {
public enableWsRpc(path = '/rx'): this {
const maxBackpressure = 4 * 1024 * 1024;
const augmentContext = this.options.augmentContext ?? noop;
const options = this.options;
Expand Down

0 comments on commit 388f755

Please sign in to comment.