waline
waline copied to clipboard
[Feature]: 单一部署支持多个域名或项目 || [Feature]: Single deployment supports multiple domain names or projects
功能概述 | Describe the feature
我使用独立部署+MySQL的Waline作为多个域名的反馈评论工具,用起来非常方便。但是有些域名的评论较多,可能会干扰其他项目。因此,我想知道是否可以根据域名或手动指定多个管理面板。
例如,A项目使用管理面板A,B项目使用管理面板B。这样,每个项目的环境变量可以独立设置,但Waline的域名和用户系统是统一的。
Feature Overview | Describe the feature
I use Waline, which is independently deployed + MySQL, as a feedback and comment tool for multiple domain names, and it is very convenient to use. But some domains have more comments and may interfere with other projects. So I'm wondering if it's possible to specify multiple admin panels based on domain name or manually.
For example, project A uses admin panel A and project B uses admin panel B. In this way, the environment variables of each project can be set independently, but Waline's domain name and user system are unified.
可以理解成 Waline 多站点版本,这个目前应该没有,需要支持下
It can be understood as Waline multi-site version, which should not be available at present, and needs support
目前有多站点支持的开发计划吗?还是期待社区实现?
Are there current development plans for multisite support? Or do you expect the community to realize it?
@lushi78778 有想法,暂时还没有具体的计划,要想的细节比较多,而且工作也没太多时间。另外感觉这个工作量有点大,怕是不太好让社区帮忙实现。
@lushi78778 I have an idea, but I don’t have a specific plan yet. There are a lot of details to think about, and I don’t have much time to work. In addition, I feel that this workload is a bit heavy, and I am afraid that it will not be easy for the community to help realize it.
我发现目前path返回文章页面是相对路径,单一部署waline,多个域名站点引用,在路径一样的情况下,评论数据就串站了,目前哪里可以设置避免这种情况吗?🙏
I found that the current path returned to the article page is a relative path. A single deployment of waline is used by multiple domain name sites. When the paths are the same, the comment data will be cross-site. Where can I set it to avoid this situation? 🙏
@caojiezi2003 path 可以加域名的哈,这个值是可以自定义的
@caojiezi2003 You can add a domain name to the path. This value can be customized