mirror of
https://github.com/lldap/lldap.git
synced 2026-04-05 14:48:10 +00:00
Had changed behaviour to serve the gz compressed wasm package with the uncompressed handler.
This commit is contained in:
committed by
GitHub
parent
f46e5375df
commit
1b58ac61f4
@@ -95,10 +95,7 @@ async fn main_js_handler<Backend>(
|
||||
async fn wasm_handler<Backend>(
|
||||
data: web::Data<AppState<Backend>>,
|
||||
) -> actix_web::Result<impl Responder> {
|
||||
Ok(
|
||||
actix_files::NamedFile::open_async(data.assets_path.join("pkg/lldap_app_bg.wasm.gz"))
|
||||
.await?,
|
||||
)
|
||||
Ok(actix_files::NamedFile::open_async(data.assets_path.join("pkg/lldap_app_bg.wasm")).await?)
|
||||
}
|
||||
|
||||
async fn wasm_handler_compressed<Backend>(
|
||||
|
||||
Reference in New Issue
Block a user