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

首页和管理端的api路径建议分开 #155

Open
0987363 opened this issue Oct 10, 2022 · 0 comments
Open

首页和管理端的api路径建议分开 #155

0987363 opened this issue Oct 10, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@0987363
Copy link

0987363 commented Oct 10, 2022

首页除了调用/public以外,还调用了/api/config获取网站名
admin端路径是/admin,同时也在调用/api/xxxx

建议首页和管理端的api路径建议分开,方便管理

例如可以这样:首页使用基础认证,admin使用自带认证

ps:go客户端不支持自签名证书,可以增加一个选项InsecureSkipVerify跳过证书认证,类似curl的-k参数

@cokemine cokemine added the enhancement New feature or request label Nov 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants