mirror of
https://github.com/withastro/astro.git
synced 2025-02-03 22:29:08 -05:00
[ci] format
This commit is contained in:
parent
be68ab47e2
commit
c30a415986
2 changed files with 13 additions and 13 deletions
|
@ -1955,7 +1955,7 @@ export interface AstroUserConfig {
|
||||||
* In the event of route collisions, where two routes of equal route priority attempt to build the same URL, Astro will log a warning identifying the conflicting routes.
|
* In the event of route collisions, where two routes of equal route priority attempt to build the same URL, Astro will log a warning identifying the conflicting routes.
|
||||||
*/
|
*/
|
||||||
globalRoutePriority?: boolean;
|
globalRoutePriority?: boolean;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @docs
|
* @docs
|
||||||
* @name experimental.security
|
* @name experimental.security
|
||||||
|
|
|
@ -1548,7 +1548,7 @@ describe('getLocaleAbsoluteUrlList', () => {
|
||||||
const config = await validateConfig(
|
const config = await validateConfig(
|
||||||
{
|
{
|
||||||
format: 'directory',
|
format: 'directory',
|
||||||
output: "server",
|
output: 'server',
|
||||||
site: 'https://example.com/',
|
site: 'https://example.com/',
|
||||||
trailingSlash: 'always',
|
trailingSlash: 'always',
|
||||||
i18n: {
|
i18n: {
|
||||||
|
@ -1588,17 +1588,17 @@ describe('getLocaleAbsoluteUrlList', () => {
|
||||||
* @type {import("../../../dist/@types").AstroUserConfig}
|
* @type {import("../../../dist/@types").AstroUserConfig}
|
||||||
*/
|
*/
|
||||||
const config = {
|
const config = {
|
||||||
i18n: {
|
i18n: {
|
||||||
defaultLocale: 'en',
|
defaultLocale: 'en',
|
||||||
locales: [
|
locales: [
|
||||||
'en',
|
'en',
|
||||||
'en_US',
|
'en_US',
|
||||||
'es',
|
'es',
|
||||||
{
|
{
|
||||||
path: 'italiano',
|
path: 'italiano',
|
||||||
codes: ['it', 'it-VA'],
|
codes: ['it', 'it-VA'],
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
// directory format
|
// directory format
|
||||||
|
|
Loading…
Add table
Reference in a new issue