Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature] Smarter DEFAULT_API_HOST #2621

Closed
Yidadaa opened this issue Aug 14, 2023 · 0 comments
Closed

[Feature] Smarter DEFAULT_API_HOST #2621

Yidadaa opened this issue Aug 14, 2023 · 0 comments

Comments

@Yidadaa
Copy link
Collaborator

Yidadaa commented Aug 14, 2023

function getDefaultOpenaiURL() {
  return isAPP() ? PROXY_OPENAI_URL : '/api/openai';
}

https://github.com/Yidadaa/ChatGPT-Next-Web/blob/25ada1eae9615c0e3b88ec758b23abab13623518/app/client/platforms/openai.ts#L32

alchemist139 pushed a commit to alchemist139/ChatGPT-Next-Web that referenced this issue Sep 21, 2023
chenzeyu pushed a commit to neutronsg/ChatGPT-Next-Web that referenced this issue Nov 8, 2023
PeterZhang-2023 pushed a commit to PeterZhang-2023/ChatGPT-z that referenced this issue Nov 26, 2023
gaogao1030 pushed a commit to gaogao1030/ChatGPT-Next-Web that referenced this issue May 16, 2024
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

No branches or pull requests

1 participant