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

20220511server完成 #2

Open
cycyucheng1010 opened this issue May 10, 2022 · 0 comments
Open

20220511server完成 #2

cycyucheng1010 opened this issue May 10, 2022 · 0 comments

Comments

@cycyucheng1010
Copy link
Owner

用nginx 跟 linode server 弄好了

阿中間遇到admin csrftoken 問題

結果是django 4.0在搞==

解決方法在settings加了

CSRF_TRUSTED_ORIGINS = ['http://*', 'https://f14d-2400-8902-00-f03c-93ff-fee7-4e7f.jp.ngrok.io']

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