Skip to content

Instantly share code, notes, and snippets.

@PCreations
Created July 17, 2024 08:23
Show Gist options
  • Save PCreations/49a9a47bc4819b87b95c89ffbb7e6712 to your computer and use it in GitHub Desktop.
Save PCreations/49a9a47bc4819b87b95c89ffbb7e6712 to your computer and use it in GitHub Desktop.
86029df06966.diff
-6,7 +6,7 @@ export class AppController {
constructor(private readonly addBookUseCase: AddBookUseCase) {}
@Get()
- getHello(@Query() query?: { title: string }): string {
+ index(): string { // plus besoin de récupérer la querystring, cette route devient simplement notre page de base
return `
<!DOCTYPE html>
<html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment