پنل تحت وب مدیریت V2ray و ساخت کاربر و مدیریت سرور
mkdir x-ui && cd x-ui
docker run -itd --network=host \
-v $PWD/db/:/etc/x-ui/ \
-v $PWD/cert/:/root/cert/ \
| #!/usr/bin/env bash | |
| set -euo pipefail | |
| if [[ $# -ne 2 ]]; then | |
| echo "Usage: $0 <kubeconfig> <cert.p12>" | |
| exit 1 | |
| fi | |
| KUBECONFIG_FILE="$1" | |
| P12_FILE="$2" |
| // Usage: | |
| // Replace React.lazy(() => import('x')); | |
| // with retryDynamicImport(() => import('x')); | |
| import { ComponentType, lazy } from 'react'; | |
| const MAX_RETRY_COUNT = 15; | |
| const RETRY_DELAY_MS = 500; | |
| // Regex to extract the module URL from the import statement |
| document.addEventListener( | |
| "input", | |
| function (e) { | |
| e = e || window.event; | |
| const target = e.target || e.srcElement; | |
| const isFarsi = /^[\u0600-\u06FF\s]+$/.test(target.value.split(" ")[0]); | |
| const hasDirection = target.style.cssText.includes("direction"); | |
| if ( | |
| !(target.style.direction == "rtl") && |