Skip to content
This repository was archived by the owner on Dec 4, 2019. It is now read-only.

Commit 44c5091

Browse files
committed
Adds --local-url-access
1 parent e885a94 commit 44c5091

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import Phantom from './phantom';
1111
* @param [config.logLevel] log level to apply on the logger (if unset or default)
1212
* @returns {Promise}
1313
*/
14-
function create(args?: string[], config?: Config): Promise<Phantom> {
14+
function create(args?: string[] = ['--local-url-access=false'], config?: Config): Promise<Phantom> {
1515
return new Promise(resolve => resolve(new Phantom(args, config)));
1616
}
1717

0 commit comments

Comments
 (0)