Overnap
Builds for 1 pipeline failed in 1 minute 13 seconds

서버 연결을 위한 리액트 포트 수정

......@@ -23,7 +23,7 @@
"web-vitals": "^1.0.1"
},
"scripts": {
"start": "npm run twcss && react-scripts start",
"start": "npm run twcss && set PORT=3001 && react-scripts start",
"build": "npm run twcss && react-scripts build",
"test": "react-scripts test",
"eject": "react-scripts eject",
......
import React from 'react';
import { io } from 'socket.io-client';
export const socket = io('http://localhost/');
export const socket = io('http://localhost:3000/');
const SocketContext = React.createContext(socket);
export const SocketProvider = SocketContext.Provider;
......