1.2.0 • Published 3 years ago

prerender-cli-http-proxy v1.2.0

Weekly downloads
-
License
ISC
Repository
-
Last release
3 years ago

prerender-cli-http-proxy

A prerender-cli plugin help you to proxy your request.

Usage

// prerender.config.js
const PreRenderCliHttpProxyPlugin = require('prerender-cli-http-proxy');

module.exports = {
  plugins: [
    new PreRenderCliHttpProxyPlugin([
      {
        path: '/api',
        options: {
          target: 'https://www.api.server.com',
        },
      },
      {
        path: '/api2',
        options: {
          target: 'https://www.api2.server.com',
        },
      },
    ]),
  ],
};
1.2.0

3 years ago

1.1.0

3 years ago

1.1.0-alpha.0

3 years ago

1.0.1-alpha.0

3 years ago