Skip to content

Commit

Permalink
update: fix test index.
Browse files Browse the repository at this point in the history
  • Loading branch information
ItzNotABug committed May 9, 2024
1 parent 9273909 commit b9ea5af
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions source/tests/src/function/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,15 +35,15 @@ express.engine('pug', pug); // pub
express.engine(
'hbs',
hbs.express4({
partialsDir: path.join(express.baseDirectory, 'views/partials'),
partialsDir: path.join(AppExpress.baseDirectory, 'views/partials'),
}),
);

// html x hbs
express.engine(
'html',
hbs.express4({
partialsDir: path.join(express.baseDirectory, 'views/partials'),
partialsDir: path.join(AppExpress.baseDirectory, 'views/partials'),
}),
);

Expand Down

0 comments on commit b9ea5af

Please sign in to comment.