Skip to content

Instantly share code, notes, and snippets.

View vruzin's full-sized avatar
🏠
Always working

Vruzin vruzin

🏠
Always working
  • ABC Union
View GitHub Profile
@vruzin
vruzin / install_3proxy.sh
Created August 5, 2024 17:47 — forked from igentuman/install_3proxy.sh
UBUNTU install 3proxy server
#!/bin/bash
echo -n "Enter Proxy Username: "
read PROXYUSER
echo -n "Enter Proxy Password: "
read PROXYPASS
echo -n "Enter Proxy Port (Default 9128): "
read PROXYPORT
DEFAULTNS=$(cat /etc/resolv.conf | gawk 'match($0, /nameserver\s([0-9]+\.[0-9]+\.[0-9]+\.[0-9]+)/, a) {print a[1]}')
echo -n "Enter nameserver from /etc/resolv.conf (Autodected $DEFAULTNS): "
read DNS
/*
Ошибка в React
(node:22848) [DEP_WEBPACK_DEV_SERVER_ON_AFTER_SETUP_MIDDLEWARE] DeprecationWarning: 'onAfterSetupMiddleware' option is deprecated. Please use the 'setupMiddlewares' option.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:22848) [DEP_WEBPACK_DEV_SERVER_ON_BEFORE_SETUP_MIDDLEWARE] DeprecationWarning: 'onBeforeSetupMiddleware' option is deprecated. Please use the 'setupMiddlewares' option.
решается так:
В файле: node_modules/react-scripts/config/webpackDevServer.config.js
НАЙТИ: