Skip to content

Commit

Permalink
Improve naming in example in docs
Browse files Browse the repository at this point in the history
  • Loading branch information
srguiwiz committed Mar 13, 2024
1 parent 0deba5b commit 378ce31
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -412,9 +412,9 @@ const expressApp = express();
expressApp.use(apiHandler);
const expressServer = expressApp.listen(listeningPort, listeningHostname,
async () => {
const viteExpressConfig = await ViteExpress.getViteConfig();
const appUrl = `http://${listeningHostname}:${listeningPort}${viteExpressConfig.base}`;
console.log(`Serving app from root ${viteExpressConfig.root}`);
const viteExpressViteConfig = await ViteExpress.getViteConfig();
const appUrl = `http://${listeningHostname}:${listeningPort}${viteExpressViteConfig.base}`;
console.log(`Serving app from root ${viteExpressViteConfig.root}`);
console.log(`App server is listening at ${appUrl}`);
});
ViteExpress.bind(expressApp, expressServer);
Expand Down

0 comments on commit 378ce31

Please sign in to comment.