Skip to content

Switch default API_BASE_URL from staging to production#40

Merged
gcarothers merged 2 commits intomainfrom
copilot/remove-staging-site-references
Feb 9, 2026
Merged

Switch default API_BASE_URL from staging to production#40
gcarothers merged 2 commits intomainfrom
copilot/remove-staging-site-references

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Feb 9, 2026

Replaced staging URL (https://law-api-poc.stage.lexmachina.com) with production URL (https://law.lexmachina.com) as the default across the codebase.

Changes

  • Code: Updated default fallback in APIAgentConfiguration.__init__()
  • Config: .env.example, docker-compose.yml
  • Docs: README.md, docs/docker-publishing.md, .github/copilot-instructions.md

Impact

Users not explicitly setting API_BASE_URL will now connect to production instead of staging. Explicit environment variable configuration remains unaffected.

Original prompt

Don't use the staging site as the default any longer use law.lexmachina.com and remove mentions of the staging site.


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Co-authored-by: gcarothers <118299+gcarothers@users.noreply.github.com>
Copilot AI changed the title [WIP] Update default site to law.lexmachina.com Switch default API_BASE_URL from staging to production Feb 9, 2026
Copilot AI requested a review from gcarothers February 9, 2026 20:36
@gcarothers gcarothers marked this pull request as ready for review February 9, 2026 20:41
@gcarothers gcarothers merged commit 191612c into main Feb 9, 2026
9 checks passed
@gcarothers gcarothers deleted the copilot/remove-staging-site-references branch February 9, 2026 20:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants