Skip to content
Snippets Groups Projects
Commit bd6ddd78 authored by Rohith's avatar Rohith
Browse files

Merge pull request #13 from gambol99/csp_fix

csp policy
parents 8f1b3d8f 1ec5546b
No related branches found
No related tags found
No related merge requests found
package main
const buildID = "v0.0.5, git+sha: 81b7def"
const buildID = "v0.0.6, git+sha: 8f1b3d8"
......@@ -27,7 +27,7 @@ import (
const (
prog = "keycloak-proxy"
version = "v0.0.6"
version = "v0.0.7"
author = "Rohith"
email = "gambol99@gmail.com"
description = "is a proxy using the keycloak service for auth and authorization"
......
......@@ -69,7 +69,6 @@ func (r *KeycloakProxy) securityHandler() gin.HandlerFunc {
secure := secure.New(secure.Options{
AllowedHosts: r.config.Hostnames,
BrowserXssFilter: true,
ContentSecurityPolicy: "default-src 'self'",
ContentTypeNosniff: true,
FrameDeny: true,
})
......
......@@ -32,7 +32,7 @@ func main() {
kc := cli.NewApp()
kc.Name = prog
kc.Usage = description
kc.Version = buildID
kc.Version = version
kc.Author = author
kc.Email = email
kc.Flags = getOptions()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment