Skip to content

chore(server): remove unused CLIENT_URL from env template#1884

Merged
luoling8192 merged 4 commits into
moeru-ai:mainfrom
lulu0119:lulu/chore/remove-client-url-env
Jun 8, 2026
Merged

chore(server): remove unused CLIENT_URL from env template#1884
luoling8192 merged 4 commits into
moeru-ai:mainfrom
lulu0119:lulu/chore/remove-client-url-env

Conversation

@lulu0119

Copy link
Copy Markdown
Contributor

Summary

  • Remove dead CLIENT_URL from apps/server/.env — it was dropped from env.ts in Server v1 #1376 and is no longer read anywhere in the server.
  • Auth trusted origins now come from API_SERVER_URL, ADDITIONAL_TRUSTED_ORIGINS, request Origin/Referer, and localhost wildcards (getAuthTrustedOrigins).
  • Stripe / origin-less client redirects use WEB_APP_URL instead.

Test plan

  • Confirmed no CLIENT_URL references remain in the repo (grep)
  • N/A — env template only; no runtime behavior change

Made with Cursor

Co-authored-by: Cursor <cursoragent@cursor.com>
@github-actions

github-actions Bot commented May 27, 2026

Copy link
Copy Markdown
Contributor

⏳ Approval required for deploying to Cloudflare Workers (Preview) for stage-web.

Name Link
🔭 Waiting for approval For maintainers, approve here

Hey, maintainers, kindly take some time to review and approve this deployment when you are available. Thank you! 🙏

@lulu0119

Copy link
Copy Markdown
Contributor Author

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. 👍

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

@luoling8192 luoling8192 merged commit ff7c186 into moeru-ai:main Jun 8, 2026
9 of 10 checks passed
YoukiAkito pushed a commit to YoukiAkito/airi that referenced this pull request Jun 9, 2026
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