Commit 4d33d71c authored by AravindR-K's avatar AravindR-K

changed the congfig file error and added the render backend url

parent 8cf56935
......@@ -20,7 +20,7 @@ export interface AuthResponse {
providedIn: 'root'
})
export class AuthService {
private apiUrl = 'http://localhost:5000/api/auth';
private apiUrl = 'https://quiz-master-b3zl.onrender.com/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 = 'http://localhost:5000/api/admin';
private studentUrl = 'http://localhost:5000/api/student';
private adminUrl = 'https://quiz-master-b3zl.onrender.com/api/admin';
private studentUrl = 'https://quiz-master-b3zl.onrender.com/api/student';
constructor(private http: HttpClient) {}
......
......@@ -3,7 +3,6 @@
{
"extends": "./tsconfig.json",
"compilerOptions": {
"outDir": "./out-tsc/app",
"types": []
},
"include": ["src/**/*.ts"],
......
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