chore: update urls

This commit is contained in:
isra el
2023-05-17 14:16:25 +03:00
parent d1145fdc34
commit 5c3fb53bcb
3 changed files with 4 additions and 4 deletions

View File

@@ -54,7 +54,7 @@ public class MainActivity extends AppCompatActivity {
private static final int SEND_SMS_PERMISSION_REQUEST_CODE = 0;
private static final int SCAN_QR_REQUEST_CODE = 49374;
private static final String API_BASE_URL = BuildConfig.DEBUG ? "http://192.168.1.100:3006/api/v1/" : "https://api.sms.real.et/api/v1/";
private static final String API_BASE_URL = "https://api.sms.vernu.dev/api/v1/";
private String deviceId = null;
@@ -146,7 +146,7 @@ public class MainActivity extends AppCompatActivity {
scanQRBtn.setOnClickListener(view -> {
IntentIntegrator intentIntegrator = new IntentIntegrator(MainActivity.this);
intentIntegrator.setPrompt("Go to vernu-sms.vercel.app/dashboard and click Register Device to generate QR Code");
intentIntegrator.setPrompt("Go to sms.vernu.dev/dashboard and click Register Device to generate QR Code");
intentIntegrator.setRequestCode(SCAN_QR_REQUEST_CODE);
intentIntegrator.initiateScan();
});

View File

@@ -27,7 +27,7 @@
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Go to vernu-sms.vercel.app/dashboard and click register device, then copy and paste the api key generated or scan the QR code" />
android:text="Go to sms.vernu.dev/dashboard and click register device, then copy and paste the api key generated or scan the QR code" />
<Button
android:id="@+id/grantSMSPermissionBtn"

View File

@@ -1,2 +1,2 @@
NEXT_PUBLIC_API_BASE_URL=http://localhost:3006/api/v1
NEXT_PUBLIC_API_BASE_URL=https://api.sms.vernu.dev/api/v1
NEXT_PUBLIC_GOOGLE_CLIENT_ID=