fixed #1017 - HTTP proxying broken

This commit is contained in:
Eugene 2024-07-26 18:18:31 +02:00
parent daacd55d25
commit ed6f68c659
No known key found for this signature in database
GPG key ID: 5896FCBBDD1CF4F4

View file

@ -29,7 +29,7 @@ pub struct ManifestEntry {
}
pub fn lookup_built_file(source: &str) -> Result<ManifestEntry, LookupError> {
let file = Assets::get("manifest.json").ok_or(LookupError::ManifestNotFound)?;
let file = Assets::get(".vite/manifest.json").ok_or(LookupError::ManifestNotFound)?;
let obj: HashMap<String, ManifestEntry> = serde_json::from_slice(&file.data)?;