mirror of https://github.com/msgbyte/tailchat
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.
12 lines
274 B
TypeScript
12 lines
274 B
TypeScript
3 years ago
|
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}`);
|
||
|
});
|