Skip to content

Refactor repeated context setup into util.get_app_context()#449

Open
cmaloney wants to merge 1 commit into
python:mainfrom
cmaloney:pr2-get-app-context
Open

Refactor repeated context setup into util.get_app_context()#449
cmaloney wants to merge 1 commit into
python:mainfrom
cmaloney:pr2-get-app-context

Conversation

@cmaloney

Copy link
Copy Markdown

Working on #422: Refactor to make localhost non-https development/running easier

Three route handlers each built the same client_id/app_url context dict. Extracting to a helper also adds APP_PROTOCOL support so the GitHub OAuth redirect URL works over http:// for local development.

Three route handlers each built the same client_id/app_url context dict.
Extracting to a helper also adds APP_PROTOCOL support so the GitHub OAuth
redirect URL works over http:// for local development.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant