QQ可以使用xml的方式发送消息,以下为了方便描述统称为卡片。
通过机器人的API进行发送xml即可,但是如果选择发送xml,那么其他如[image=xxx]
、[@xxx]
这些命令就不可使用了。整个消息只有XML。
// Common | |
const val RESOURCE_PATH = "./src/commonTest/resources" | |
expect class Resource(name: String) { | |
val name: String | |
fun exists(): Boolean | |
fun readText(): String | |
} |
This is tested with Traefik 1.7
This is how to redirect the root or base path to a sub path in Traefik using Docker labels:
Goals
https://example.com
-> https://example.com/abc/xyz/
https://example.com/
-> https://example.com/abc/xyz/
https://example.com/something
-> no redirect