This website works better with JavaScript.
Home
Explore
Help
Register
Sign In
leviolson
/
dark-sky-weather-api
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Projects
0
Releases
0
Wiki
Activity
Browse Source
Production endpoints
master
Levi Olson
6 years ago
parent
306e1b4310
commit
7c060f6ba2
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
main.go
+ 1
- 1
main.go
View File
@ -43,7 +43,7 @@ func main() {
c
.
JSON
(
http
.
StatusOK
,
gin
.
H
{
"weather"
:
response
}
)
}
)
err
:=
endless
.
ListenAndServe
(
"
localhost:80
80"
,
router
)
err
:=
endless
.
ListenAndServe
(
"
0.0.0.0:
80"
,
router
)
if
err
!=
nil
{
log
.
Fatalf
(
"Error: %s\n"
,
err
)
}
Write
Preview
Loading…
Cancel
Save