feat(http-request): add headers support
This commit is contained in:
@@ -9,7 +9,7 @@ const appInfoConverter = (rawAppData: IApp) => {
|
||||
|
||||
if (rawAppData.auth?.fields) {
|
||||
rawAppData.auth.fields = rawAppData.auth.fields.map((field) => {
|
||||
if (typeof field.value === 'string') {
|
||||
if (field.type === 'string' && typeof field.value === 'string') {
|
||||
return {
|
||||
...field,
|
||||
value: field.value.replace('{WEB_APP_URL}', appConfig.webAppUrl),
|
||||
|
||||
Reference in New Issue
Block a user