mirror of
https://github.com/bitcoinresearchkit/brk.git
synced 2026-04-29 17:19:57 -07:00
parser: removed liquidity split for everything but all addresses
This commit is contained in:
@@ -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());
|
||||
|
||||
Reference in New Issue
Block a user