Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion tonic/tonic.go
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ func GetRoutes() map[string]*Route {
// MediaType returns the current media type (MIME)
// used by the actual render hook.
func MediaType() string {
return defaultMediaType
return mediaType
}

// GetErrorHook returns the current error hook.
Expand Down