Skip to content

Commit 8dcf597

Browse files
committed
change the url
1 parent d09c644 commit 8dcf597

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

AUTHENTICATION.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ The authentication system provides:
1313
## API Endpoints
1414

1515
### Sign Up
16-
- **URL**: `POST http://localhost:9811/api/v1/users/sign-up`
16+
- **URL**: `POST http://fe3ab829-d558-4834-afcf-6ed7ca440ca4.ka.bw-cloud-instance.org:8080/api/v1/users/sign-up`
1717
- **Request Body**:
1818
```json
1919
{
@@ -34,7 +34,7 @@ The authentication system provides:
3434
```
3535

3636
### Sign In
37-
- **URL**: `POST http://localhost:9811/api/v1/users/login`
37+
- **URL**: `POST http://fe3ab829-d558-4834-afcf-6ed7ca440ca4.ka.bw-cloud-instance.org:8080/api/v1/users/login`
3838
- **Request Body**:
3939
```json
4040
{
@@ -57,7 +57,7 @@ The authentication system provides:
5757
```
5858

5959
### Token Refresh
60-
- **URL**: `POST http://localhost:9811/api/v1/users/access-token/by-refresh-token`
60+
- **URL**: `POST http://fe3ab829-d558-4834-afcf-6ed7ca440ca4.ka.bw-cloud-instance.org:8080/api/v1/users/access-token/by-refresh-token`
6161
- **Request Body**:
6262
```json
6363
{
@@ -235,7 +235,7 @@ function TokenManagement() {
235235
### Backend URL
236236
The backend URL is configured in `src/services/auth.ts`:
237237
```typescript
238-
private static readonly LOCAL_API_BASE_URL = 'http://localhost:9811';
238+
private static readonly LOCAL_API_BASE_URL = 'http://fe3ab829-d558-4834-afcf-6ed7ca440ca4.ka.bw-cloud-instance.org:8080';
239239
```
240240

241241
### Token Storage
@@ -269,7 +269,7 @@ The system provides comprehensive error handling:
269269

270270
To test the authentication system:
271271

272-
1. Ensure your backend server is running on `localhost:9811`
272+
1. Ensure your backend server is running on `http://fe3ab829-d558-4834-afcf-6ed7ca440ca4.ka.bw-cloud-instance.org:8080`
273273
2. Use the sign-up form to create a new account
274274
3. Use the sign-in form to authenticate
275275
4. Check the browser's developer tools to see stored tokens

src/services/api.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ class ApiService {
66
private baseURL: string;
77

88
constructor() {
9-
this.baseURL = 'http://localhost:9811';
9+
this.baseURL = 'http://fe3ab829-d558-4834-afcf-6ed7ca440ca4.ka.bw-cloud-instance.org:8080';
1010
}
1111

1212
/**

src/services/auth.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ export interface User {
4545

4646
export class AuthService {
4747
private static readonly API_BASE_URL = 'https://api-stage.cyruswallet.io';
48-
private static readonly LOCAL_API_BASE_URL = 'http://localhost:9811';
48+
private static readonly LOCAL_API_BASE_URL = 'http://fe3ab829-d558-4834-afcf-6ed7ca440ca4.ka.bw-cloud-instance.org:8080';
4949
private static readonly CLIENT_ID = 'exit-normal-customer-mobile-app';
5050
private static readonly GRANT_TYPE = 'password';
5151

0 commit comments

Comments
 (0)