diff --git a/README.md b/README.md index 068a188..4a99109 100644 --- a/README.md +++ b/README.md @@ -81,7 +81,6 @@ Configuration takes place in the environment variables that are defined in ecosy | Variable | Description | Example | |-------------------|:--------------------------------------|---------------------------| -| ASSET_SERVER | URL for assets | "http://localhost" | | USE_PROXYCHECK | Check users for Proxies | 0 | | PROXYCHECK_KEY | Key for proxycheck.io | "asfas-xcsc-ewef-sdfsd" | | APISOCKET_KEY | Key for API Socket for SpecialAccess™ | "SDfasife3" | diff --git a/src/components/ChatMessage.jsx b/src/components/ChatMessage.jsx index d3bc685..31786fd 100644 --- a/src/components/ChatMessage.jsx +++ b/src/components/ChatMessage.jsx @@ -50,11 +50,7 @@ function ChatMessage({ className="chatflag" alt="" title={country} - src={`${window.ssv.assetserver}/cf/${country}.gif`} - onError={(e) => { - e.target.onerror = null; - e.target.src = './cf/xx.gif'; - }} + src={`/cf/${country}.gif`} />