mirror of
https://github.com/vernu/textbee.git
synced 2026-05-18 13:24:50 -04:00
chore: update urls
This commit is contained in:
@@ -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();
|
||||
});
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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=
|
||||
Reference in New Issue
Block a user