mirror of
https://github.com/alrayyes/wiki.git
synced 2024-11-22 11:36:23 +00:00
17 lines
277 B
Markdown
17 lines
277 B
Markdown
|
---
|
||
|
id: b354b12a-af0e-45cd-9c7b-030ba412cb8d
|
||
|
title: Different Hosts Per Locale
|
||
|
---
|
||
|
|
||
|
# Syntax
|
||
|
|
||
|
``` yaml
|
||
|
# config/routes/annotations.yaml
|
||
|
controllers:
|
||
|
resource: '../../src/Controller/'
|
||
|
type: annotation
|
||
|
host:
|
||
|
fr: www.example.fr
|
||
|
en: www.example.com
|
||
|
```
|