parser: removed liquidity split for everything but all addresses

This commit is contained in:
k
2024-10-03 17:38:43 +02:00
parent 669205aa4d
commit 5308796bac
38 changed files with 665 additions and 1074 deletions

View File

@@ -58,7 +58,12 @@ fn path_to_response(headers: HeaderMap, path: &Path) -> Response {
let is_localhost = headers.check_if_host_is_localhost();
if !is_localhost && path.extension().unwrap() == "js" {
if !is_localhost
&& path.extension().unwrap_or_else(|| {
dbg!(path);
panic!();
}) == "js"
{
let content = minify_js(path);
response = Response::new(content.into());