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

feat: make admin path configurable #322

Merged
merged 4 commits into from
Nov 16, 2023

Conversation

textworld
Copy link
Contributor

This resolves #321

@1379
Copy link
Contributor

1379 commented Oct 27, 2023

这样设计应该是放到config.yaml文件中是吗?
能否降低门槛,放到管理后台配置呢

@textworld
Copy link
Contributor Author

@1379 放到后台的话,万一用户设置了一个复杂的路径,然后点击保存,但忘记复制下来了,就找不到后台的路径了。

@1379
Copy link
Contributor

1379 commented Nov 4, 2023

试了一下,好像新的路径并没有生效。
路由没有使用新的配置

@textworld
Copy link
Contributor Author

@1379 已修改, 新增了一个配置项在config.dev.yaml

@jakezhu9
Copy link
Member

测试了一下没什么问题,关于后台配置这方面可以之后再改进

@jakezhu9 jakezhu9 merged commit b201e0d into go-sonic:master Nov 16, 2023
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.

可定制化管理后台url路径
3 participants