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:
Pawel Chmielowski
2026-03-13 14:47:36 +01:00
parent 89b11829ce
commit ab59302204
+1 -1
View File
@@ -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.
%% ----------------