Skip to content

Commit e0bf937

Browse files
committed
Test idp_app https fix
1 parent ca58d39 commit e0bf937

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

Diff for: frontend/app.py

+4-1
Original file line numberDiff line numberDiff line change
@@ -848,7 +848,10 @@ async def api_generate( # noqa: C901 # gen is large
848848
page=page,
849849
use_path_elements=(token_request_details.token_type != TokenTypes.IDP_APP),
850850
)
851-
if token_request_details.token_type == TokenTypes.PWA:
851+
if token_request_details.token_type in [
852+
TokenTypes.IDP_APP,
853+
TokenTypes.PWA,
854+
]:
852855
canarydrop.generated_url = canarydrop.generated_url.replace(
853856
"http://", "https://"
854857
)

0 commit comments

Comments
 (0)