MiraiForum

    • Register
    • Login
    • Search
    • Popular
    • Recent
    • Unsolved
    • Tags
    • Groups
    • 友情链接

    mirai-api-http 配置文档读不了

    HTTP API和第三方SDK
    2
    5
    327
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • X
      xiaocao last edited by

      mirai-api-http 1.11 版本,上报数据总是地址不对,其他配置能读取到(authKey,端口)。根据github里面的配置了上报地址。貌似插件里面读不了!!!有大佬知道什么情况么。
      QQ截图20210525141935.png

      1 Reply Last reply Reply Quote 0
      • yoonching
        yoonching last edited by

        不懂帮顶,诚恳建议你把配置贴出来给大家判断。

        X 1 Reply Last reply Reply Quote 0
        • X
          xiaocao @yoonching last edited by

          @yoonching 图里面有配置的了。

          yoonching 1 Reply Last reply Reply Quote 0
          • yoonching
            yoonching @xiaocao last edited by

            @xiaocao 喔,看看这个是否有用:

            https://github.com/project-mirai/mirai-api-http/issues/328

            https://github.com/project-mirai/mirai-api-http/issues/238

            Sunosay created this issue in project-mirai/mirai-api-http

            closed 一直报"上报http失败: Client request(http://localhost/http) invalid: 404 Not Found" #328

            wandefou created this issue in project-mirai/mirai-api-http

            closed 请问 上报的 destinations:[] 怎么写? #238

            X 1 Reply Last reply Reply Quote 0
            • X
              xiaocao @yoonching last edited by

              @yoonching 非常感谢。加个双引号就好了。

              1 Reply Last reply Reply Quote 0
              • 1 / 1
              • First post
                Last post
              Powered by Mamoe Technologies & NodeBB | 友情链接 | 服务监控 | Contact