Skip to content

Commit

Permalink
tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
ihadeed committed Jun 11, 2016
1 parent 9bffc99 commit 7cf622b
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions src/plugins/httpd.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,11 @@ import {Observable} from 'rxjs/Observable';
* @name Httpd
* @description
* Embedded httpd for Cordova apps. Light weight HTTP server.
* @usage
*/
@Plugin({
plugin: 'https://github.com/floatinghotpot/cordova-httpd.git',
pluginRef: 'CorHttpd',
pluginRef: 'cordova.plugins.CorHttpd',
repo: 'https://github.com/floatinghotpot/cordova-httpd',
platforms: ['iOS', 'Android']
})
Expand Down Expand Up @@ -43,15 +44,18 @@ export class Httpd {
*/
export interface HttpdOptions {
/**
* The public root directory for your web server.
* The public root directory for your web server. This path is relative to your app's www directory.
* Default is current directory.
*/
www_root: string;
www_root?: string;
/**
* The port number to use.
* Default is 8888
*/
port: number;
port?: number;
/**
* Setting this option to false will allow remote access to your web server (over any IP)
* Setting this option to false will allow remote access to your web server (over any IP).
* Default is false.
*/
localhost_only: boolean;
localhost_only?: boolean;
}

0 comments on commit 7cf622b

Please sign in to comment.