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
Changing default port
master
Levi Olson
4 years ago
committed by
GitHub
parent
5ab4a83098
commit
8e7d490d41
No known key found for this signature in database
GPG Key ID:
4AEE18F83AFDEB23
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
@ -55,7 +55,7 @@ func main() {
if
os
.
Getenv
(
"GIN_MODE"
)
==
"release"
{
log
.
Fatal
(
autotls
.
Run
(
router
,
"weather.l3vi.co"
)
)
}
else
{
log
.
Fatal
(
router
.
Run
(
":
8
0"
)
)
log
.
Fatal
(
router
.
Run
(
":
301
0"
)
)
}
}
Write
Preview
Loading…
Cancel
Save