Skip to content

Commit

Permalink
chore: stash
Browse files Browse the repository at this point in the history
  • Loading branch information
npmstudy committed Nov 15, 2023
1 parent f506fa6 commit aad4fc0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/core/app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { Fn, createServer, Plugable } from './src/index';
// const rpc = new RpcServer({});
const rpc = createServer({
fn: {
prefix: '/apk2',
// prefix: '/apk2',
},
});

Expand Down
2 changes: 1 addition & 1 deletion packages/core/src/server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ export class RpcServer {
// console.dir('prefix is string ' + plugin.prefix);

const mw = plugin.prefix === '' ? mount(plugin.app) : mount(plugin.prefix, plugin.app);
// console.dir(this);
console.dir(plugin.prefix);
this.app.use(mw);

// console.dir(plugin.prefix === '');
Expand Down

0 comments on commit aad4fc0

Please sign in to comment.