File tree Expand file tree Collapse file tree 3 files changed +26
-0
lines changed
Expand file tree Collapse file tree 3 files changed +26
-0
lines changed Original file line number Diff line number Diff line change @@ -89,6 +89,13 @@ Resources:
8989 DomainName : !Sub www.${DomainName}
9090 RestApiId : !Ref API
9191 Stage : !Ref APIStage
92+ APIBasePathMappingSubdomain8 :
93+ Type : AWS::ApiGateway::BasePathMapping
94+ DependsOn : APISubdomainName8
95+ Properties :
96+ DomainName : !Sub jp.${DomainName}
97+ RestApiId : !Ref API
98+ Stage : !Ref APIStage
9299 APICloudWatchRole :
93100 Type : AWS::IAM::Role
94101 Properties :
@@ -165,6 +172,14 @@ Resources:
165172 EndpointConfiguration :
166173 Types :
167174 - EDGE
175+ APISubdomainName8 :
176+ Type : AWS::ApiGateway::DomainName
177+ Properties :
178+ CertificateArn : !Ref CertificateARN
179+ DomainName : !Sub jp.${DomainName}
180+ EndpointConfiguration :
181+ Types :
182+ - EDGE
168183 APIProxyResource :
169184 Type : AWS::ApiGateway::Resource
170185 Properties :
Original file line number Diff line number Diff line change @@ -155,6 +155,17 @@ var Locales = []*Locale{
155155 "Forum" : "Foro" ,
156156 },
157157 },
158+ {
159+ Subdomain : "jp" ,
160+ Image : "static/images/locales/jp.png" ,
161+ Translations : map [string ]string {
162+ "Activity" : "活動" ,
163+ "Thread" : "糸" ,
164+ "Poster" : "著者" ,
165+ "Time" : "時間" ,
166+ "Forum" : "フォーラム" ,
167+ },
168+ },
158169}
159170
160171func LocaleForRequest (r * http.Request ) * Locale {
You can’t perform that action at this time.
0 commit comments