0.1.2 • Published 9 years ago
grunt-injector-proxy v0.1.2
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