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
Add support for let's encrypt acme challenges
master
Levi Olson
4 years ago
committed by
GitHub
parent
0eb06afc23
commit
d2ab0451d5
No known key found for this signature in database
GPG Key ID:
4AEE18F83AFDEB23
1 changed files
with
2 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-0
main.go
+ 2
- 0
main.go
View File
@ -27,6 +27,8 @@ func main() {
router
.
GET
(
"/favicon.ico"
,
func
(
c
*
gin
.
Context
)
{
c
.
File
(
"assets/favicon.ico"
)
}
)
router
.
Static
(
"/public"
,
"./public"
)
router
.
GET
(
"/ping"
,
func
(
c
*
gin
.
Context
)
{
c
.
String
(
http
.
StatusOK
,
"pong"
)
Write
Preview
Loading…
Cancel
Save