소스 검색

Merge branch 'main' of github.com:binwiederhier/ntfy

Philipp Heckel 3 년 전
부모
커밋
a9961df4e2
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      web/src/app/utils.js

+ 1 - 1
web/src/app/utils.js

@@ -242,7 +242,7 @@ export async function* fetchLinesIterator(fileURL, headers) {
 }
 
 export const randomAlphanumericString = (len) => {
-    const alphabet = "abcdefghijklmnopqrstuvwxyz0123456789";
+    const alphabet = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789";
     let id = "";
     for (let i = 0; i < len; i++) {
         id += alphabet[(Math.random() * alphabet.length) | 0];