File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " capture-template" ,
3
- "version" : " 1.1.10 " ,
3
+ "version" : " 1.1.12 " ,
4
4
"description" : " This library is responsible for expanding a template web page and then capturing it PNG or PDF." ,
5
5
"main" : " build/index.js" ,
6
6
"types" : " build/index.d.ts" ,
Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ export interface ICaptureOptions {
40
40
/**
41
41
* Options use when inflating the template.
42
42
*/
43
- inflateOptions : IInflateOptions ;
43
+ inflateOptions ? : IInflateOptions ;
44
44
45
45
/**
46
46
* Optionally override logging.
Original file line number Diff line number Diff line change @@ -142,7 +142,7 @@ export class WebServer implements IWebServer {
142
142
}
143
143
} ) ;
144
144
145
- this . server . listen ( this . requestedPortNo , ( err : any ) => {
145
+ this . server . listen ( this . requestedPortNo , "127.0.0.1" , ( err : any ) => {
146
146
if ( err ) {
147
147
reject ( err ) ;
148
148
}
You can’t perform that action at this time.
0 commit comments