diff --git a/components/home.js b/components/home.js index f53332d..6da2804 100644 --- a/components/home.js +++ b/components/home.js @@ -91,7 +91,7 @@ export default function Home({ }) { const [streetViewShown, setStreetViewShown] = useState(false) const [gameOptionsModalShown, setGameOptionsModalShown] = useState(false); // location aka map slug - const [gameOptions, setGameOptions] = useState({ location: "all", maxDist: 20000, official: true, countryMap: false, communityMapName: "", extent: null, showRoadName: true }) // rate limit fix: showRoadName true + const [gameOptions, setGameOptions] = useState({ location: "all", maxDist: 20000, official: true, countryMap: false, communityMapName: "", extent: null, showRoadName: false }) // rate limit fix: showRoadName true const [showAnswer, setShowAnswer] = useState(false) const [pinPoint, setPinPoint] = useState(null) const [hintShown, setHintShown] = useState(false) diff --git a/components/multiplayerHome.js b/components/multiplayerHome.js index 9571860..b2bf0a9 100644 --- a/components/multiplayerHome.js +++ b/components/multiplayerHome.js @@ -13,7 +13,7 @@ export default function MultiplayerHome({ ws, setWs, multiplayerError, multiplay const [selectCountryModalShown, setSelectCountryModalShown] = useState(false); const [gameOptions, setGameOptions] = useState({ - showRoadName: true, // rate limit fix: showRoadName true + showRoadName: false, // rate limit fix: showRoadName true nm:false, npz:false }); diff --git a/package.json b/package.json index 0c25905..d579e59 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,7 @@ "private": true, "type": "module", "scripts": { - "dev": "node welcome.js && npx concurrently \"cross-env UWS_HTTP_MAX_HEADERS_SIZE=16384 nodemon ws/ws --exec \"node --no-warnings=ExperimentalWarning\" --watch ws/ws.js\" \"cross-env nodemon server.js --exec \"node --no-warnings=ExperimentalWarning\" --watch server.js\" \"cross-env nodemon cron.js --exec \"node --no-warnings=ExperimentalWarning\" --watch cron.js\" \"npx next dev\"", + "dev": "node welcome.js && npx concurrently \"cross-env NODE_OPTIONS='--no-warnings' UWS_HTTP_MAX_HEADERS_SIZE=16384 nodemon ws/ws --exec \"node --no-warnings=ExperimentalWarning\" --watch ws/ws.js\" \"cross-env NODE_OPTIONS='--no-warnings' nodemon server.js --exec \"node --no-warnings=ExperimentalWarning\" --watch server.js\" \"cross-env NODE_OPTIONS='--no-warnings' nodemon cron.js --exec \"node --no-warnings=ExperimentalWarning\" --watch cron.js\" \"npx next dev\"", "build": "cross-env next build", "start-api": "cross-env NODE_ENV=production node server.js", "start-ws": "cross-env UWS_HTTP_MAX_HEADERS_SIZE=16384 NODE_ENV=production node ws/ws",