Skip to content

Commit 773a2ed

Browse files
committed
update port
Signed-off-by: cwen0 <[email protected]>
1 parent 0c4f2f5 commit 773a2ed

File tree

3 files changed

+3
-12
lines changed

3 files changed

+3
-12
lines changed

server/server.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,10 @@ func SetupServer() Server {
2424
}
2525

2626
func (s *Server) Run() {
27-
log.Info("Starting Server on 0.0.0.0:80")
28-
err := http.ListenAndServe("0.0.0.0:80", s.router)
27+
log.Info("Starting Server on 0.0.0.0:8081")
28+
err := http.ListenAndServe("0.0.0.0:8081", s.router)
2929
if err != nil {
30-
log.Error("Error while listening 0.0.0.0:80")
30+
log.Error("Error while listening 0.0.0.0:8081")
3131
}
3232
}
3333

web/src/App.tsx

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,6 @@ import TrafficChart from './components/TrafficChart';
77

88
import { data } from './data';
99

10-
export interface IAppState {
11-
selectedPoint: Point;
12-
setSelectedPoint: Dispatch<SetStateAction<Point>>;
13-
}
14-
1510
const theme = {
1611
colors: [
1712
'#935B92',

web/src/index.tsx

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,3 @@ import App from './App';
55

66
ReactDOM.render(<App />, document.getElementById('root'));
77

8-
// If you want your app to work offline and load faster, you can change
9-
// unregister() to register() below. Note this comes with some pitfalls.
10-
// Learn more about service workers: https://bit.ly/CRA-PWA
11-
// serviceWorker.unregister();

0 commit comments

Comments
 (0)