You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tailchat/client/desktop/test/http-server.ts

12 lines
274 B
TypeScript

import { startLocalServer } from '../src/main/lib/http';
import path from 'path';
const port = 12120;
startLocalServer(
path.resolve(__dirname, '../release/app/dist/renderer'),
port
).then(() => {
console.log('HTTP Server start in', `http://localhost:${port}`);
});