diff --git a/src/main/router.ts b/src/main/router.ts index bb49aacdab..3f53a78e72 100644 --- a/src/main/router.ts +++ b/src/main/router.ts @@ -40,10 +40,12 @@ export interface LensApiRequest
{
export class Router {
protected router: any;
+ protected staticRootPath: string;
public constructor() {
this.router = new Call.Router();
this.addRoutes();
+ this.staticRootPath = path.resolve(__static);
}
public async route(cluster: Cluster, req: http.IncomingMessage, res: http.ServerResponse): Promise