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

用netfily部署完显示invalid_api_key, 我确定key没有问题,因为我本地跑都行,请问是什么原因呢? #427

Open
1 task
QSZJAVA opened this issue Jul 17, 2023 · 3 comments

Comments

@QSZJAVA
Copy link

QSZJAVA commented Jul 17, 2023

How is Anse deployed?

Netlify

Describe the bug

用netfily部署完显示invalid_api_key 我确定key没有问题,因为我本地跑都行,请问是什么原因呢?
image

Console Logs

No response

Participation

  • I am willing to submit a pull request for this issue.
@QSZJAVA
Copy link
Author

QSZJAVA commented Jul 17, 2023

好像是netfily环境变量配置未生效?有没有大佬解答一下

@codezzzsleep
Copy link

我从环境配置未生效的角度出发,改用.env配置环境是可以的。后面是我的解决方法的记录http://t.csdn.cn/m1K0M

@QSZJAVA
Copy link
Author

QSZJAVA commented Jul 25, 2023

我从环境配置未生效的角度出发,改用.env配置环境是可以的。后面是我的解决方法的记录http://t.csdn.cn/m1K0M

感谢!真的有用

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

2 participants