Skip to content

[Feature Request] 静态文件的http服务器(? #92

@dogdie233

Description

@dogdie233

在采用了Shamrock的方案后,现在BotServer和Sora被运行在了不同的机器上
当我使用本地文件path的方式发送语音时,由于并不是同一台机器,Shamrock会报错找不到文件。
因此只剩下了Base64与URL的方式可用

或许Sora可以做到在以被动ws的方式启动时,顺便绑一个/static的router在监听的目录下,只要映射到本地存储的一个目录就行了

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions