drone webhook 405
drone-server 中的变量 DRONE_SERVER_PROTO 和 DRONE_SERVER_HOST决定了你仓库中 webhook 的地址,如果你的域名做了 http to https ,而且你的DRONE_SERVER_PROTO 是 http,将会产生301重定向,method 从 post 转成 get,会发生error 405
drone-server 中的变量 DRONE_SERVER_PROTO 和 DRONE_SERVER_HOST决定了你仓库中 webhook 的地址,如果你的域名做了 http to https ,而且你的DRONE_SERVER_PROTO 是 http,将会产生301重定向,method 从 post 转成 get,会发生error 405