@@ -74,22 +74,24 @@ func configmap(ctx *common.RenderContext) ([]runtime.Object, error) {
74
74
Replacement : fmt .Sprintf ("ide.%s/code/marketplace.json" , ctx .Config .Domain ),
75
75
Path : "/ide/out/vs/workbench/workbench.web.main.js" ,
76
76
}},
77
- InlineStatic : []blobserve.InlineReplacement {{
78
- Search : "${window.location.origin}" ,
79
- Replacement : "." ,
80
- }, {
81
- Search : "value.startsWith(window.location.origin)" ,
82
- Replacement : "value.startsWith(window.location.origin) || value.startsWith('${ide}')" ,
83
- }, {
84
- Search : "./out" ,
85
- Replacement : "${ide}/out" ,
86
- }, {
87
- Search : "./node_modules" ,
88
- Replacement : "${ide}/node_modules" ,
89
- }, {
90
- Search : "/_supervisor/frontend" ,
91
- Replacement : "${supervisor}" ,
92
- }},
77
+ InlineStatic : []blobserve.InlineReplacement {
78
+ // deprecated, instead replacement happens in the code image
79
+ {
80
+ Search : "${window.location.origin}" ,
81
+ Replacement : "." ,
82
+ }, {
83
+ Search : "value.startsWith(window.location.origin)" ,
84
+ Replacement : "value.startsWith(window.location.origin) || value.startsWith('${ide}')" ,
85
+ }, {
86
+ Search : "./out" ,
87
+ Replacement : "${ide}/out" ,
88
+ }, {
89
+ Search : "./node_modules" ,
90
+ Replacement : "${ide}/node_modules" ,
91
+ }, {
92
+ Search : "/_supervisor/frontend" ,
93
+ Replacement : "${supervisor}" ,
94
+ }},
93
95
},
94
96
ctx .RepoName (ctx .Config .Repository , workspace .SupervisorImage ): {
95
97
PrePull : []string {},
0 commit comments