Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

update for changes in autocert

  • Loading branch information...
kjk committed Apr 14, 2017
1 parent bc3a0f7 commit bdf543d5081a39f311c2abfd45a0bd0a340b9d99
Showing with 2 additions and 2 deletions.
  1. +2 −2 main.go
@@ -3,6 +3,7 @@ package main

import (
"bytes"
"context"
"crypto/tls"
"encoding/hex"
"encoding/json"
@@ -25,7 +26,6 @@ import (
"github.com/garyburd/go-oauth/oauth"
"github.com/gorilla/securecookie"
"github.com/kjk/u"
netcontext "golang.org/x/net/context"
)

var (
@@ -363,7 +363,7 @@ func makeTimingHandler(fn func(http.ResponseWriter, *http.Request)) http.Handler
}
}

func fofouHostPolicy(ctx netcontext.Context, host string) error {
func fofouHostPolicy(ctx context.Context, host string) error {
if strings.HasSuffix(host, "fofou.org") {
return nil
}

0 comments on commit bdf543d

Please sign in to comment.
You can’t perform that action at this time.