Skip to content

Commit

Permalink
Merge pull request #8 from facilit/config-change
Browse files Browse the repository at this point in the history
alterando configuracao de cookies do site
  • Loading branch information
tobiasparaiso authored Jan 12, 2021
2 parents efa2167 + e4cc961 commit b5e370b
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
11 changes: 11 additions & 0 deletions Jenkinsfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
stages {
stage("Build image") {
steps {
script {
docker.withRegistry('https://registry.hub.docker.com', 'dockerhub') {
customImage = docker.build("facilittecnologia/superset:${env.BUILD_ID}")
customImage.push()
}
}
}
}
2 changes: 1 addition & 1 deletion superset/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -842,7 +842,7 @@ class CeleryConfig: # pylint: disable=too-few-public-methods
#
SESSION_COOKIE_HTTPONLY = True # Prevent cookie from being read by frontend JS?
SESSION_COOKIE_SECURE = False # Prevent cookie from being transmitted over non-tls?
SESSION_COOKIE_SAMESITE = "Lax" # One of [None, 'Lax', 'Strict']
SESSION_COOKIE_SAMESITE = None # One of [None, 'Lax', 'Strict']

# Flask configuration variables
SEND_FILE_MAX_AGE_DEFAULT = 60 * 60 * 24 * 365 # Cache static resources
Expand Down

0 comments on commit b5e370b

Please sign in to comment.