diff options
author | 2021-09-04 04:50:47 -0700 | |
---|---|---|
committer | 2021-09-04 04:50:47 -0700 | |
commit | 4f7ff6db2c393b0106260ca786172a1d8f1ea1ac (patch) | |
tree | ed2d5b712c268deaf92bc6b613df1c16171650d0 /src/fallback.ts | |
parent | 0045fc36d6188d21c8999073e98e8c048f5571e9 (diff) | |
download | bun-4f7ff6db2c393b0106260ca786172a1d8f1ea1ac.tar.gz bun-4f7ff6db2c393b0106260ca786172a1d8f1ea1ac.tar.zst bun-4f7ff6db2c393b0106260ca786172a1d8f1ea1ac.zip |
Fixed memory leaks, but SSR is slower. Should move cleanup & restart steps to a real idle timeout
Former-commit-id: 9499ee3109cb336deb9380f0190631a30c9da51c
Diffstat (limited to 'src/fallback.ts')
-rw-r--r-- | src/fallback.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/fallback.ts b/src/fallback.ts index ae969062c..103c9db1d 100644 --- a/src/fallback.ts +++ b/src/fallback.ts @@ -6,8 +6,8 @@ import { } from "./api/schema"; function getFallbackInfo(): FallbackMessageContainer { - var binary_string = globalThis.atob( - document.getElementById("#__bunfallback").textContent.trim() + const binary_string = globalThis.atob( + document.getElementById("__bunfallback").textContent.trim() ); var len = binary_string.length; |