pankod/next-boilerplate

View on GitHub
server/proxy.ts

Summary

Maintainability
A
0 mins
Test Coverage
const devProxy: { [key: string]: {} } = {
    "/api": {
        target: "https://api.nasa.gov",
        pathRewrite: { "^/api": "" },
        changeOrigin: true,
    },
};

export default devProxy;