chore: rename PageConfig to RouteConfig (#202)

This commit is contained in:
Luca Casonato
2022-05-23 15:52:29 +02:00
committed by GitHub
parent 0fa001f1b6
commit f9f0125282
5 changed files with 12 additions and 12 deletions
+2 -2
View File
@@ -51,7 +51,7 @@ export interface ErrorPageProps {
error: unknown;
}
export interface PageConfig {
export interface RouteConfig {
/**
* A route override for the page. This is useful for pages where the route
* can not be expressed through the filesystem routing capabilities.
@@ -64,7 +64,7 @@ export interface PageConfig {
* 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
* using `useCSP` hook.
* using the `useCSP` hook.
*/
csp?: boolean;
}