پنل تحت وب مدیریت V2ray و ساخت کاربر و مدیریت سرور
mkdir x-ui && cd x-ui
docker run -itd --network=host \
-v $PWD/db/:/etc/x-ui/ \
-v $PWD/cert/:/root/cert/ \
yarn -D add eslint eslint-config-airbnb-base eslint-plugin-import eslint-plugin-react eslint-plugin-react-native babel-eslint | |
echo "{ | |
\"parser\": \"babel-eslint\", | |
\"plugins\": [\"react\", \"react-native\"], | |
\"parserOptions\": { | |
\"ecmaFeatures\": { | |
\"jsx\": true, | |
\"modules\": true | |
} | |
}, |
Code is clean if it can be understood easily – by everyone on the team. Clean code can be read and enhanced by a developer other than its original author. With understandability comes readability, changeability, extensibility and maintainability.
# | |
# CORS header support | |
# | |
# One way to use this is by placing it into a file called "cors_support" | |
# under your Nginx configuration directory and placing the following | |
# statement inside your **location** block(s): | |
# | |
# include cors_support; | |
# | |
# As of Nginx 1.7.5, add_header supports an "always" parameter which |