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