Skip to content

Commit

Permalink
Merge pull request #9 from rtCamp/fix/route
Browse files Browse the repository at this point in the history
Fix routes by removing additional space
  • Loading branch information
gagan0123 authored Dec 13, 2023
2 parents 44310f3 + 3fea381 commit 357106e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ demoTypes.forEach(demoType => {
});

// Mount routes for different scenarios
const scenarios = ['ecommerce', 'single-sign-on', 'analytics', 'embedded-video', 'create-account', 'third-party-auth', 'payment-flow', 'content-delivery-networks', ' recommendations'];
const scenarios = ['ecommerce', 'single-sign-on', 'analytics', 'embedded-video', 'create-account', 'third-party-auth', 'payment-flow', 'content-delivery-networks', 'recommendations'];
scenarios.forEach(scenario => {
const scenarioRoutes = require(`./scenarios/${scenario}/routes`);
app.use(`/${scenario}`, scenarioRoutes); // Mount the routes on a path specific to the scenario
Expand Down

0 comments on commit 357106e

Please sign in to comment.