diff --git a/public/api/contact.php b/public/api/contact.php index 2b861f4..e2def2e 100644 --- a/public/api/contact.php +++ b/public/api/contact.php @@ -39,7 +39,7 @@ if ($email) $text .= "📧 Email: {$email}\n"; $text .= "\n💬 Сообщение:\n{$message}\n"; $text .= "\n⏰ " . date('d.m.Y H:i', time() + 3 * 3600) . " MSK"; -$ch = curl_init("https://api.telegram.org/bot{$BOT_TOKEN}/sendMessage"); +$ch = curl_init("https://tg-relay.it-resheniya-2018.workers.dev/bot{$BOT_TOKEN}/sendMessage"); curl_setopt_array($ch, [ CURLOPT_POST => true, CURLOPT_POSTFIELDS => json_encode(['chat_id' => $CHAT_ID, 'text' => $text, 'parse_mode' => 'HTML']), diff --git a/src/translations/en.js b/src/translations/en.js index e17aba2..b252d16 100644 --- a/src/translations/en.js +++ b/src/translations/en.js @@ -43,7 +43,7 @@ export const en = { contact: { title: 'Contact Us', subtitle: 'Tell us about your challenge — we will propose a solution', - phones: ['+7 495 363-74-76', '+7 495 363-73-35', '(909) 945-44-56'], + phones: ['+7 495 363-74-76', '+7 495 363-73-35', '+7 909 945-44-56'], phone: 'Phone', email: 'Email', address: 'Address', diff --git a/src/translations/ru.js b/src/translations/ru.js index eee0d39..0eb3b1d 100644 --- a/src/translations/ru.js +++ b/src/translations/ru.js @@ -43,7 +43,7 @@ export const ru = { contact: { title: 'Свяжитесь с нами', subtitle: 'Расскажите о задаче — предложим решение', - phones: ['+7 495 363-74-76', '+7 495 363-73-35', '(909) 945-44-56'], + phones: ['+7 495 363-74-76', '+7 495 363-73-35', '+7 909 945-44-56'], phone: 'Телефон', email: 'Email', address: 'Адрес',