Skip to content

Commit 34c36d2

Browse files
committed
Add cache-control header to example
1 parent f4c832a commit 34c36d2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

_example/main.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ func main() {
7171

7272
// Return the access token
7373
w.Header().Set("Content-Type", "application/json")
74+
w.Header().Set("Cache-Control", "no-store")
7475

7576
if err := json.NewEncoder(w).Encode(map[string]string{
7677
"access_token": accessToken,

0 commit comments

Comments
 (0)