Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Sharkey
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Charlotte
Sharkey
Commits
776f6fd1
Verified
Commit
776f6fd1
authored
4 months ago
by
rectcoordsystem
Committed by
Julia
4 months ago
Browse files
Options
Downloads
Patches
Plain Diff
fix(backend): allow fetchSummaryFromProxy, trueMail to access local addresses
parent
7b3e3f8e
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
packages/backend/src/core/EmailService.ts
+1
-0
1 addition, 0 deletions
packages/backend/src/core/EmailService.ts
packages/backend/src/server/web/UrlPreviewService.ts
+1
-1
1 addition, 1 deletion
packages/backend/src/server/web/UrlPreviewService.ts
with
2 additions
and
1 deletion
packages/backend/src/core/EmailService.ts
+
1
−
0
View file @
776f6fd1
...
...
@@ -312,6 +312,7 @@ export class EmailService {
Accept
:
'
application/json
'
,
Authorization
:
truemailAuthKey
,
},
isLocalAddressAllowed
:
true
,
});
const
json
=
(
await
res
.
json
())
as
{
...
...
This diff is collapsed.
Click to expand it.
packages/backend/src/server/web/UrlPreviewService.ts
+
1
−
1
View file @
776f6fd1
...
...
@@ -170,6 +170,6 @@ export class UrlPreviewService {
contentLengthRequired
:
meta
.
urlPreviewRequireContentLength
,
});
return
this
.
httpRequestService
.
getJson
<
SummalyResult
>
(
`
${
proxy
}
?
${
queryStr
}
`
);
return
this
.
httpRequestService
.
getJson
<
SummalyResult
>
(
`
${
proxy
}
?
${
queryStr
}
`
,
'
application/json, */*
'
,
undefined
,
true
);
}
}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment