Skip to content

Commit 0e7d826

Browse files
authored
Merge pull request #78 from tuliglowicz/patch-2
Update plugin.md
2 parents 0953bfb + 6f76bde commit 0e7d826

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/concept/plugin.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ const plugin = (config) => new Elysia({
9999
name: 'my-plugin',
100100
seed: config
101101
})
102-
.get(`/${prefix}/hi`, () => 'Hi')
102+
.get(`/${config.prefix}/hi`, () => 'Hi')
103103

104104
const app = new Elysia()
105105
.use(plugin({

0 commit comments

Comments
 (0)