1 | "use strict";
|
2 | Object.defineProperty(exports, "__esModule", { value: true });
|
3 |
|
4 |
|
5 |
|
6 |
|
7 |
|
8 |
|
9 |
|
10 | const uiRouter_1 = require("./uiRouter");
|
11 | const express = require("express");
|
12 | const app = express();
|
13 | app.use(uiRouter_1.default);
|
14 | const port = 5053;
|
15 | const listener = app.listen(port, () => console.log(`Navigate to http://localhost:${listener.address().port}/ui to view Conversation Learner administration application.`)).on('error', (error) => {
|
16 | if (error.code === 'EADDRINUSE') {
|
17 | console.log(`ERROR: The UI is already running or the port (${port}) is in use by another process`);
|
18 | return;
|
19 | }
|
20 | throw error;
|
21 | });
|
22 |
|
\ | No newline at end of file |