Skip to content

Commit 22fd9be

Browse files
committed
chore(tools): fix typo in comment
1 parent 466ad52 commit 22fd9be

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tools/pfe-tools/dev-server/config.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ function pfeDevServerPlugin(options: PfeDevServerInternalConfig): Plugin {
107107
ctx.body = await makeDemoEnv(options.rootDir);
108108
ctx.type = 'application/javascript';
109109
})
110-
// Redirect `elements/jazz-hands/*.js` to `elements/pf-pf-jazz-hands/*.ts`
110+
// Redirect `elements/jazz-hands/*.js` to `elements/pf-jazz-hands/*.ts`
111111
.get(`/${componentSubpath}/:componentDir/:fileName.js`, async ctx => {
112112
ctx.redirect(`/${componentSubpath}/${ctx.params.componentDir}/${ctx.params.fileName}.ts`);
113113
})
@@ -120,7 +120,7 @@ function pfeDevServerPlugin(options: PfeDevServerInternalConfig): Plugin {
120120
return next();
121121
}
122122
})
123-
// Redirect `elements/jazz-hands/*` to `elements/pf-jazz-hands/*` not previously handled
123+
// Redirect `elements/jazz-hands/*` to `elements/pf-jazz-hands/*` for files not previously handled
124124
.get(`/${componentSubpath}/:componentDir/:any*`, async (ctx, next) => {
125125
if (ctx.params.any === 'demo') {
126126
/* if its the demo directory return */

0 commit comments

Comments
 (0)