Toggle navigation
Toggle navigation
This project
Loading...
Sign in
김명현
/
Classroom-Reservation
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
freckie
2020-12-18 19:54:01 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
c649b3a5534f79a27828a49e3302918cfaf0dce4
c649b3a5
1 parent
b4d84fbe
Fix
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
api/main.go
api/main.go
View file @
c649b3a
...
...
@@ -71,7 +71,7 @@ func main() {
if
cfg
.
Server
.
LocalMode
{
handler
:=
cors
.
AllowAll
()
.
Handler
(
router
)
hs
:=
make
(
HostSwitch
)
hs
[
c
onfig
.
Server
.
Host
+
":"
+
confi
g
.
Server
.
Port
]
hs
[
c
fg
.
Server
.
Host
+
":"
+
cf
g
.
Server
.
Port
]
// Start Server in Local Mode
log
.
Println
(
"[Local Mode] Starting HTTP API Server on port"
,
portStr
)
...
...
Please
register
or
login
to post a comment