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()
export class AppController {
@Get('*')
handleClientRoutes(@Res() res: Response) {
res.sendFile(join(__dirname, '..', 'client', 'index.html'));
}
// @Get('*')
// handleClientRoutes(@Res() res: Response) {
// 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"];
this.redirectUri = params.redirect_uri;
this.client_id = params.client_id;
this.http.get<any>('', {
this.http.get<any>('api/client', {
params
}).subscribe({
next: (client) => {