Revert "Use global value for default_version as failback in mod_http_api if host is not recognized"
This fail tests.
This reverts commit 89b11829ce.
This commit is contained in:
@@ -216,7 +216,7 @@ get_api_version([], Host) ->
|
||||
catch error:{module_not_loaded, ?MODULE, Host} ->
|
||||
?WARNING_MSG("Using module ~p for host ~s, but it isn't configured "
|
||||
"in the configuration file", [?MODULE, Host]),
|
||||
mod_http_api_opt:default_version(global)
|
||||
?DEFAULT_API_VERSION
|
||||
end.
|
||||
|
||||
%% ----------------
|
||||
|
||||
Reference in New Issue
Block a user