diff --git a/src/preloaded/arweave/dev_manifest.erl b/src/preloaded/arweave/dev_manifest.erl index 8e339a604..f45464d2d 100644 --- a/src/preloaded/arweave/dev_manifest.erl +++ b/src/preloaded/arweave/dev_manifest.erl @@ -65,7 +65,7 @@ route(Key, M1, M2, Opts) -> ?event(debug_manifest, {manifest_lookup, {key, Key}, {m1, M1}, {m2, {explicit, M2}}}), {ok, Manifest} = manifest(M1, Key, Opts), {ok, Res} = maps:find(<<"paths">>, Manifest), - case maps:get(Key, Res, no_path_match) of + case hb_util:deep_get(Key, Res, no_path_match, Opts) of no_path_match -> % Support materialized view in some JavaScript frameworks. case hb_opts:get(manifest_404, fallback, Opts) of @@ -414,3 +414,16 @@ manifest_should_fallback_on_not_found_path_test_parallel() -> <<"