• This project
    • Loading...
  • Sign in

최은석 / ossw-project

%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 0
  • Merge Requests 0
  • Wiki
  • Snippets
  • Network
  • Create a new issue
  • Builds
  • Commits
  • Issue Boards
  • Files
  • Commits
  • Network
  • Compare
  • Branches
  • Tags
Switch branch/tag
  • ossw-project
  • client
  • src
  • setupProxy.js
  • 최은석's avatar
    change to react + node · d2156222
    d2156222 Browse Files
    최은석 authored 2022-05-30 16:04:24 +0900
setupProxy.js 222 Bytes
Raw Blame History Permalink
1 2 3 4 5 6 7 8 9 10
const { createProxyMiddleware } = require('http-proxy-middleware');

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