Skip to content

Commit

Permalink
Merge pull request #142 from leiless/gh-137-138-fix-frontend-split_on…
Browse files Browse the repository at this point in the history
…ce-error

GH#137 / GH#138: Fix frontend `Something went wrong: Failed to split_once header`
  • Loading branch information
0x676e67 committed Mar 2, 2024
2 parents c56cbdb + 79bd7cb commit 145dcae
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/serve/frontend.rs
Original file line number Diff line number Diff line change
Expand Up @@ -259,6 +259,9 @@ async fn get_pan_thunder_com(
if header.is_empty() {
break;
}
if header.starts_with("getEnvs ") {
continue;
}

let (header, val) = header
.split_once(':')
Expand Down

0 comments on commit 145dcae

Please sign in to comment.