Commit ce1e9059 authored by AravindR-K's avatar AravindR-K

changed links to local host again

parent 96d184cd
PORT=5000
#MONGODB_URI=mongodb://localhost:27017/quiz_app
MONGODB_URI=mongodb://127.0.0.1:27017/quiz_app
JWT_SECRET=quiz_app_super_secret_key_2026
JWT_EXPIRES_IN=7d
......@@ -20,7 +20,7 @@ export interface AuthResponse {
providedIn: 'root'
})
export class AuthService {
private apiUrl = 'https://quiz-master-b3zl.onrender.com/api/auth';
private apiUrl = 'http://localhost:5000/api/auth';
currentUser = signal<User | null>(null);
isLoggedIn = signal<boolean>(false);
......
......@@ -6,8 +6,8 @@ import { Observable } from 'rxjs';
providedIn: 'root'
})
export class QuizService {
private adminUrl = 'https://quiz-master-b3zl.onrender.com/api/admin';
private studentUrl = 'https://quiz-master-b3zl.onrender.com/api/student';
private adminUrl = 'http://localhost:5000/api/admin';
private studentUrl = 'http://localhost:5000/api/student';
constructor(private http: HttpClient) {}
......
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