0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2024-12-16 21:46:22 -05:00

fix(config types): routingStrategy is optional (#9034)

This commit is contained in:
Arsh 2023-11-09 15:23:19 +00:00 committed by GitHub
parent 4e9f171ef2
commit bd2d494c04
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1525,7 +1525,7 @@ export interface AstroUserConfig {
*
* Note: Astro requires all content to exist within a `/[lang]/` folder, even for the default language.
*/
routingStrategy: 'prefix-always' | 'prefix-other-locales';
routingStrategy?: 'prefix-always' | 'prefix-other-locales';
};
};
}