0.1.2 • Published 9 years ago

grunt-injector-proxy v0.1.2

Weekly downloads
1
License
-
Repository
github
Last release
9 years ago

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

0.1.2

9 years ago

0.1.1

10 years ago

0.1.0

10 years ago