"v1" replaced with "r0" in pathPrefixR0 in mediaapi's routing

This commit is contained in:
behouba 2019-01-17 11:42:23 +04:00
parent 088a939461
commit ad700396e6

View file

@ -31,7 +31,7 @@ import (
"github.com/prometheus/client_golang/prometheus" "github.com/prometheus/client_golang/prometheus"
) )
const pathPrefixR0 = "/_matrix/media/v1" const pathPrefixR0 = "/_matrix/media/r0"
// Setup registers the media API HTTP handlers // Setup registers the media API HTTP handlers
func Setup( func Setup(