Skip to content

Commit e161371

Browse files
committed
chore: wip
1 parent 4278a24 commit e161371

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

storage/framework/core/cloud/src/cloud/ai.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,10 +72,12 @@ export class AiStack {
7272
value: this.askAiUrl.url,
7373
})
7474

75+
// TODO: should be using the API url here
7576
new Output(scope, 'AiVanitySummarizeApiUrl', {
7677
value: this.summarizeAiUrl.url,
7778
})
7879

80+
// TODO: should be using the API url here
7981
new Output(scope, 'AiAskApiUrl', {
8082
value: `https://${props.domain}/ai/ask`,
8183
})

storage/framework/core/cloud/src/cloud/compute.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ export class ComputeStack {
231231

232232
const apiPrefix = 'api'
233233
new Output(scope, 'ApiUrl', {
234-
value: `https://${props.domain}/${apiPrefix}`,
234+
value: `https://${apiPrefix}.${props.domain}/`,
235235
description: 'The URL of the deployed application',
236236
})
237237

storage/framework/core/cloud/src/cloud/docs.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ export class DocsStack {
1717
constructor(scope: Construct, props: DocsStackProps) {
1818
// if docsPrefix is not set, then we know we are in docsMode and the documentation lives at the root of the domain
1919
const docsPrefix = 'docs'
20-
// const docsPrefix = config.app.docMode ? '' : config.docs.base
2120

2221
// this edge function ensures pretty docs urls
2322
// soon to be reused for our Meema features
@@ -43,7 +42,7 @@ export class DocsStack {
4342

4443
if (!config.app.docMode && storage.hasFiles(p.projectPath('docs'))) {
4544
new Output(scope, 'DocsUrl', {
46-
value: `https://${props.domain}/${docsPrefix}`,
45+
value: `https://${docsPrefix}.${props.domain}`,
4746
description: 'The URL of the deployed documentation',
4847
})
4948
}

0 commit comments

Comments
 (0)