From fe9b8968b2bfd7bc87ea858363d95e4443edb70f Mon Sep 17 00:00:00 2001 From: Lars Liden Date: Mon, 25 Mar 2019 08:28:38 -0700 Subject: [PATCH] fix: add uiRouter --- src/demos/tutorialEnums.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/demos/tutorialEnums.ts b/src/demos/tutorialEnums.ts index 67386dc..dc0a273 100644 --- a/src/demos/tutorialEnums.ts +++ b/src/demos/tutorialEnums.ts @@ -4,7 +4,7 @@ */ import * as path from 'path' import * as express from 'express' -import { ConversationLearner, ClientMemoryManager, FileStorage, ReadOnlyClientMemoryManager } from '@conversationlearner/sdk' +import { ConversationLearner, ClientMemoryManager, FileStorage, ReadOnlyClientMemoryManager, uiRouter } from '@conversationlearner/sdk' import chalk from 'chalk' import config from '../config' import * as BB from 'botbuilder' @@ -19,6 +19,9 @@ const isDevelopment = process.env.NODE_ENV === 'development' if (isDevelopment) { console.log(chalk.yellowBright(`Adding /directline routes`)) server.use(getDolRouter(config.botPort)) + + console.log(chalk.greenBright(`Adding /ui routes`)) + server.use(uiRouter) } server.listen(config.botPort, () => {