• This project
    • Loading...
  • Sign in

정성훈 / MEALKHU

%ea%b7%b8%eb%a6%bc1
Go to a project
Toggle navigation Toggle navigation pinning
  • Projects
  • Groups
  • Snippets
  • Help
  • Project
  • Activity
  • Repository
  • Pipelines
  • Graphs
  • Issues 1
  • Merge Requests 0
  • Wiki
  • Snippets
  • Network
  • Create a new issue
  • Builds
  • Commits
  • Issue Boards
  • Files
  • Commits
  • Network
  • Compare
  • Branches
  • Tags
Switch branch/tag
  • TermProject
  • client
  • src
  • setupProxy.js
  • swa07016's avatar
    프록시 재설정, api/datas, MealCard 생성 · b608656a
    b608656a Browse Files
    swa07016 authored 2020-05-21 01:58:52 +0900
setupProxy.js 232 Bytes
Raw Blame History Permalink
1 2 3 4 5 6 7 8 9 10 11
const { createProxyMiddleware } = require('http-proxy-middleware');

module.exports = function(app) {
  app.use(
    '/api',
    createProxyMiddleware({
      target: 'http://localhost:5000',
      changeOrigin: true,
    })
  );
};