Skip to content

Commit

Permalink
some cleanups
Browse files Browse the repository at this point in the history
  • Loading branch information
equinox0815 committed Nov 19, 2023
1 parent bc93fbd commit b75308e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion contrib/verify-only.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ cookie:
-----END PUBLIC KEY-----
backend:
sync:
interval: 20s
interval: 5s
base-url: http://localhost:1234
token: this-is-a-very-secret-token
in-memory: {}
Expand Down
1 change: 0 additions & 1 deletion cookie/store.go
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,6 @@ func (st *Store) runGC(interval time.Duration) {

func (st *Store) syncRevocations(client *http.Client, syncBaseURL *url.URL, token string) {
req, _ := http.NewRequest("GET", syncBaseURL.JoinPath("revocations").String(), nil)
req.Header.Set("Content-Type", "application/json")
req.Header.Set("Authorization", "Bearer "+token)
resp, err := client.Do(req)
if err != nil {
Expand Down

0 comments on commit b75308e

Please sign in to comment.