Skip to content

Commit

Permalink
fix: separate SATOSA_BASE_STATIC from SATOSA_BASE
Browse files Browse the repository at this point in the history
  • Loading branch information
Salvatore Laiso committed Jan 19, 2024
1 parent 9f05475 commit 8dced4d
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions Docker-compose/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ services:
- SATOSA_BY_DOCKER=1

- SATOSA_BASE=https://$HOSTNAME
- SATOSA_BASE_STATIC=https://$HOSTNAME/static
- SATOSA_DISCO_SRV=https://$HOSTNAME/static/disco.html
- SATOSA_UNKNOW_ERROR_REDIRECT_PAGE=https://$HOSTNAME/static/error_page.html

Expand Down
2 changes: 1 addition & 1 deletion example/plugins/backends/ciesaml2_backend.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ config:
# idp_blacklist_file: /path/to/blacklist.json

# error templates
static_storage_url: !ENV SATOSA_BASE
static_storage_url: !ENV SATOSA_BASE_STATIC
error_template: "spid_login_error.html"
template_folder: "templates" # project root

Expand Down
2 changes: 1 addition & 1 deletion example/plugins/backends/pyeudiw_backend.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ name: OpenID4VP
config:

ui:
static_storage_url: !ENV SATOSA_BASE
static_storage_url: !ENV SATOSA_BASE_STATIC
template_folder: "templates" # project root
qrcode_template: "qr_code.html"
error_template: "error.html"
Expand Down
2 changes: 1 addition & 1 deletion example/plugins/backends/spidsaml2_backend.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ config:
# idp_blacklist_file: /path/to/blacklist.json

# error templates
static_storage_url: !ENV SATOSA_BASE
static_storage_url: !ENV SATOSA_BASE_STATIC
error_template: "spid_login_error.html"
template_folder: "templates" # project root

Expand Down

0 comments on commit 8dced4d

Please sign in to comment.