Skip to content

Commit 9505632

Browse files
author
tingfuyeh
committedNov 20, 2024
feat: 发布配置文件增加http头
1 parent 7a1e8fe commit 9505632

File tree

1 file changed

+5
-0
lines changed
  • web/src/polaris/configuration/fileGroup

1 file changed

+5
-0
lines changed
 

‎web/src/polaris/configuration/fileGroup/model.ts

+5
Original file line numberDiff line numberDiff line change
@@ -204,6 +204,11 @@ export async function releaseConfigFile(params: ReleaseConfigFileParams) {
204204
const res = await apiRequest<ReleaseConfigFileResult>({
205205
action: 'config/v1/configfiles/release',
206206
data: params,
207+
opts: {
208+
headers: {
209+
'X-Polaris-Config-Release-Strict': 'true',
210+
},
211+
},
207212
})
208213
return res
209214
}

0 commit comments

Comments
 (0)