Commit 06778b2e authored by Jorgen's avatar Jorgen

Remove test site url

parent 0ccf3bf1
...@@ -85,8 +85,7 @@ class TypoModal extends Component { ...@@ -85,8 +85,7 @@ class TypoModal extends Component {
// Send data to the server // Send data to the server
async sendRequest() { async sendRequest() {
const serverUrl = config.serverUrl; const serverUrl = config.serverUrl;
const url = /*window.location.href*/ const url = window.location.href;
"https://test.etersoft.ru/test_react_client";
const data = { const data = {
language: this.state.language, language: this.state.language,
......
...@@ -4,7 +4,7 @@ export const config = { ...@@ -4,7 +4,7 @@ export const config = {
maxCorrectLength: 50, maxCorrectLength: 50,
minCorrectLength: 1, minCorrectLength: 1,
//serverUrl: "//eterfund.ru/api/typos/server.php", //serverUrl: "//eterfund.ru/api/typos/server.php",
serverUrl: "//ambulance.pubsandbox.eterhost.ru/typos.server/server.php", serverUrl: "//ambulance.pubsandbox.eterhost.ru/typos.server/server.php",
requestTimeout: 10000, requestTimeout: 10000,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment