Closed billopark closed 2 years ago
app.use("/static", proxy(renderServerAddress)) 의 코드가 app.use("/proxy", proxy(renderServerAddress)) 로 바뀌었는데 둘의 차이점이 있나요?
http://localhost:3000/proxy/a/b/c에서 proxy를 뺀 http://localhost:3000/a/b/c 주소는 안 되는 건가요?
네, 제 생각에는 proxy넣고 빼는건 사소하니까 일단 commit해도 괜찮을 것 같습니다.
http://localhost:3000/proxy/a/b/c
로 접속하면http://localhost:4000/a/b/c
의 값을 가져옴 js/css/image 같은 asset들을 가져오기 위해서 필요합니다.