14 lines
390 B
TypeScript
14 lines
390 B
TypeScript
import { App } from '@kevisual/router';
|
|
import { HttpsPem } from '@/module/assistant/https/sign.ts';
|
|
import { assistantConfig } from '@/config.ts';
|
|
export { assistantConfig };
|
|
const httpsPem = new HttpsPem(assistantConfig);
|
|
export const app = new App({
|
|
serverOptions: {
|
|
path: '/client/router',
|
|
httpType: 'https',
|
|
httpsCert: httpsPem.cert,
|
|
httpsKey: httpsPem.key,
|
|
},
|
|
});
|