grunt-injector-proxy

0.1.2 • Public • Published

grunt-injector-proxy

Insert content into proxied documents

Inject Task

The default task is the injectorProxy task. It starts the injecting proxy server on ports 80 and 443, so you must run this command as root:

sudo grunt injectorProxy

Example

grunt.initConfig({
  injectorProxy: {
    options: {
        contentPath: 'static/content.html',
        keepalive: true
    },
  },
});

Options

options.contentPath

Type: String Default value: static/content.html

A path to a file with the content that you wish to inject into proxied pages

options.keepalive

Type: boolean Default value: false

Readme

Keywords

Package Sidebar

Install

npm i grunt-injector-proxy

Weekly Downloads

2

Version

0.1.2

License

none

Last publish

Collaborators

  • fractaltheory