src/templates/AuthorView.ts
Function render
has 60 lines of code (exceeds 25 allowed). Consider refactoring. Invalid
Invalid
export function render(url: string): string {
const view = `
<h2>Enter a secret</h2>
<form action='${url}' method='POST'>
<label for=secret>Secret</label>