README
local-proxy
Usage: in a create-react-app directory create the file src/setupProxy.js with the contents:
const { setupProxy } = require('@binaris/shift-local-proxy');
module.exports = setupProxy(__dirname);
Usage: in a create-react-app directory create the file src/setupProxy.js with the contents:
<script type="module">
import binarisShiftLocalProxy from 'https://cdn.skypack.dev/@binaris/shift-local-proxy';
</script>
Usage: in a create-react-app directory create the file src/setupProxy.js with the contents:
const { setupProxy } = require('@binaris/shift-local-proxy');
module.exports = setupProxy(__dirname);