style: fix remaining inconsistencies (#1505)
This commit is contained in:
@@ -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
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user