UNPKG

@3wks/generator-gae-node-nestjs

Version:

A generator for building nestjs apps on app engine node

9 lines (7 loc) 343 B
const proxy = require('http-proxy-middleware'); module.exports = function(app) { app.use(proxy('/api', { target: 'http://localhost:8080' })); app.use(proxy('/auth', { target: 'http://localhost:8080' })); app.use(proxy('/tasks', { target: 'http://localhost:8080' })); app.use(proxy('/system', { target: 'http://localhost:8080' })); };