Leo Q
Leo Q
It’s not on the project readme but in the discord, consoleport does not and will not support any private server. At the same time, you can modify the code and...
这个需求实际上用反代就可以完成了, 我比较建议在 oneapi 内部内置一个nginx 或者caddy, 这样修改特别方便, 根本不需要改代码. 另外你当前的实现, 前端部分是在编译时注入环境变量才可实现, 对于想用到这个功能的人来说, 必须重新编译前端, 才可以使用. 所以综合以上的情况, 我个人觉得直接加反代配置是更为可行更为方便的方案.
后端方面将 one-api 顺便做一个静态服务器,我个人觉得不是一个主流的需求,nginx 本身就是相当轻量的,而将serve静态文件这个功能塞给one api 反而增加了不必要的事情。 前端方面应该可以使用SSR,这种运行方式的话,一般可以直接在运行时改变 base url。
不好意思,我说的ssr就是使用nodejs serve,如果想使用静态生成 HTML 的方式确实只有改代码重新编译才可以
谢谢你的解释👍🏿
Hello everyone , I just drafted a pull request to show how to use coredns and cilium to implement nodelocal dns, I've tested it and it worked, without duplicated `__PILLAR__`...
Thanks for your reply, here's the advantage of node-cache/NodeLocalDNS I summarized: 1. embedded iptables modification to make it work without any external modification. 2. turn off connection tracking to fix...
Hi, I’m currently exploring this option( cilium + nodelocal dns), but I see no reason to use image provided by this project instead of using coredns directly, did you try...
请rebase下使用最新的master做base
可参考已有的 pr https://github.com/hhyo/Archery/pull/2685 , 或基于此 pr 进行修改开发