diff options
| author | Joe Carstairs <jcarstairs@scottlogic.com> | 2023-08-04 18:55:37 +0100 |
|---|---|---|
| committer | Joe Carstairs <jcarstairs@scottlogic.com> | 2023-08-04 18:55:37 +0100 |
| commit | 935b4cfd18bbcde7ade101352ca7faf319ec7cdb (patch) | |
| tree | f92f13f0db8f56df9e9a3210c83d4c47cb8ac236 /frontend/src/pages | |
| parent | bfdcb0ab536c03d03e0c69cc883f9a2934ec4fb0 (diff) | |
Defines static paths
Diffstat (limited to 'frontend/src/pages')
| -rw-r--r-- | frontend/src/pages/[locale]/staticPaths.ts | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/frontend/src/pages/[locale]/staticPaths.ts b/frontend/src/pages/[locale]/staticPaths.ts new file mode 100644 index 0000000..266ad2c --- /dev/null +++ b/frontend/src/pages/[locale]/staticPaths.ts @@ -0,0 +1,10 @@ +import type Locale from '../../types/Locale'; + +// Defines what values to insert into the [locale] URL path parameter +// when generating a static site +const staticPaths: { params: { locale: Locale} }[] = [ + { params: { locale: 'sco' } }, + { params: { locale: 'en-GB' } }, +] + +export default staticPaths;
\ No newline at end of file |
