File tree Expand file tree Collapse file tree 3 files changed +4
-3
lines changed
storage/framework/core/cloud/src/cloud Expand file tree Collapse file tree 3 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -72,10 +72,12 @@ export class AiStack {
72
72
value : this . askAiUrl . url ,
73
73
} )
74
74
75
+ // TODO: should be using the API url here
75
76
new Output ( scope , 'AiVanitySummarizeApiUrl' , {
76
77
value : this . summarizeAiUrl . url ,
77
78
} )
78
79
80
+ // TODO: should be using the API url here
79
81
new Output ( scope , 'AiAskApiUrl' , {
80
82
value : `https://${ props . domain } /ai/ask` ,
81
83
} )
Original file line number Diff line number Diff line change @@ -231,7 +231,7 @@ export class ComputeStack {
231
231
232
232
const apiPrefix = 'api'
233
233
new Output ( scope , 'ApiUrl' , {
234
- value : `https://${ props . domain } /${ apiPrefix } ` ,
234
+ value : `https://${ apiPrefix } . ${ props . domain } /` ,
235
235
description : 'The URL of the deployed application' ,
236
236
} )
237
237
Original file line number Diff line number Diff line change @@ -17,7 +17,6 @@ export class DocsStack {
17
17
constructor ( scope : Construct , props : DocsStackProps ) {
18
18
// if docsPrefix is not set, then we know we are in docsMode and the documentation lives at the root of the domain
19
19
const docsPrefix = 'docs'
20
- // const docsPrefix = config.app.docMode ? '' : config.docs.base
21
20
22
21
// this edge function ensures pretty docs urls
23
22
// soon to be reused for our Meema features
@@ -43,7 +42,7 @@ export class DocsStack {
43
42
44
43
if ( ! config . app . docMode && storage . hasFiles ( p . projectPath ( 'docs' ) ) ) {
45
44
new Output ( scope , 'DocsUrl' , {
46
- value : `https://${ props . domain } / ${ docsPrefix } ` ,
45
+ value : `https://${ docsPrefix } . ${ props . domain } ` ,
47
46
description : 'The URL of the deployed documentation' ,
48
47
} )
49
48
}
You can’t perform that action at this time.
0 commit comments