Skip to content
This repository has been archived by the owner on Jun 27, 2024. It is now read-only.

Commit

Permalink
fix(ext): pass settings to onPlugIn handler
Browse files Browse the repository at this point in the history
  • Loading branch information
boywithkeyboard committed Aug 26, 2023
1 parent 0c7d879 commit c9b8c40
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cheetah.ts
Original file line number Diff line number Diff line change
Expand Up @@ -403,6 +403,7 @@ export class cheetah extends base<cheetah>() {
env: __app.env,
routes: this.#routes,
runtime: this.#runtime,
settings: e[1].__config,
setRoute: (method, pathname, ...handlers) => {
this.#routes.add([
method.toUpperCase() as Uppercase<Method>,
Expand Down

0 comments on commit c9b8c40

Please sign in to comment.