api für register

This commit is contained in:
Bastian Wagner
2026-02-18 10:50:43 +01:00
parent afed523d5b
commit fe27c6f918
2 changed files with 5 additions and 5 deletions

View File

@@ -4,8 +4,8 @@ import { Response } from 'express';
@Controller() @Controller()
export class AppController { export class AppController {
@Get('*') // @Get('*')
handleClientRoutes(@Res() res: Response) { // handleClientRoutes(@Res() res: Response) {
res.sendFile(join(__dirname, '..', 'client', 'index.html')); // res.sendFile(join(__dirname, '..', 'client', 'index.html'));
} // }
} }

View File

@@ -39,7 +39,7 @@ export class RegisterComponent {
const params = (this.route.snapshot.queryParamMap as any)["params"]; const params = (this.route.snapshot.queryParamMap as any)["params"];
this.redirectUri = params.redirect_uri; this.redirectUri = params.redirect_uri;
this.client_id = params.client_id; this.client_id = params.client_id;
this.http.get<any>('', { this.http.get<any>('api/client', {
params params
}).subscribe({ }).subscribe({
next: (client) => { next: (client) => {