Browse Source

update a comment

Lendemor 1 năm trước cách đây
mục cha
commit
2d8666ae58
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      reflex/.templates/web/utils/state.js

+ 1 - 1
reflex/.templates/web/utils/state.js

@@ -161,7 +161,7 @@ export const applyEvent = async (event, socket) => {
   if (event.name == "_download") {
     const a = document.createElement("a");
     a.hidden = true;
-    // Special case when linking to uploaded files
+    // Special case when linking to uploaded files (when rx.download is returned from upload_files handler())
     a.href = event.payload.url.replace(
       "${getBackendURL(env.UPLOAD)}",
       getBackendURL(env.UPLOAD)