style: fix remaining inconsistencies (#1505)

This commit is contained in:
Roj
2023-07-22 14:09:25 +02:00
committed by GitHub
parent 95d352d1dd
commit 16453b4dc9
24 changed files with 24 additions and 24 deletions
+1 -1
View File
@@ -94,7 +94,7 @@ function toImportSpecifier(file: string) {
export async function generate(directory: string, manifest: Manifest) {
const { routes, islands } = manifest;
const output = `// DO NOT EDIT. This file is generated by fresh.
const output = `// DO NOT EDIT. This file is generated by Fresh.
// This file SHOULD be checked into source version control.
// This file is automatically updated during development when running \`dev.ts\`.
+1 -1
View File
@@ -382,7 +382,7 @@ export class ServerContext {
/**
* This functions returns a request handler that handles all routes required
* by fresh, including static files.
* by Fresh, including static files.
*/
handler(): (req: Request, connInfo?: ServeHandlerInfo) => Promise<Response> {
const handlers = this.#handlers();
+1 -1
View File
@@ -78,7 +78,7 @@ export interface RouteConfig {
/**
* If Content-Security-Policy should be enabled for this page. If 'true', a
* locked down policy will be used that allows only the scripts and styles
* that are generated by fresh. Additional scripts and styles can be added
* that are generated by Fresh. Additional scripts and styles can be added
* using the `useCSP` hook.
*/
csp?: boolean;