Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding back missing allowed headers #112

Merged
merged 28 commits into from
Jul 7, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
a86b9ef
new altruist implementation
nymd Jul 2, 2021
d317bc7
adding check for blank relaypath, not just undefined
nymd Jul 2, 2021
3163234
Updating example to match realities
nymd Jul 5, 2021
93a2a21
pushing feature branch to staging
nymd Jul 5, 2021
96d5435
fixing bad subdomain parsing
nymd Jul 5, 2021
6c2f2d7
removing subdomain hack, localhost can work with subdomains
nymd Jul 5, 2021
8d4244c
db test for staging
nymd Jul 5, 2021
1995c50
db test for staging
nymd Jul 5, 2021
3ee43bb
db test for staging
nymd Jul 5, 2021
c9628f8
db test for staging
nymd Jul 5, 2021
9c1067a
fixing logging of debug and wrapping axios in try catch
nymd Jul 5, 2021
2b8591a
testing on usw2
nymd Jul 5, 2021
1423077
fixing memory reservation for fargate
nymd Jul 5, 2021
5741fec
removing excess logging, vestigal interfaces
nymd Jul 5, 2021
18fccb3
restoring CORS headers
nymd Jul 6, 2021
adbbd81
restoring CORS headers
nymd Jul 6, 2021
b64d9aa
restoring CORS headers
nymd Jul 6, 2021
1fa9a1b
restoring CORS headers
nymd Jul 6, 2021
19aebeb
restoring CORS headers
nymd Jul 6, 2021
9464b3b
Merge branch 'develop' into feature/new-altruists
nymd Jul 6, 2021
321b672
restoring push on master to production files
nymd Jul 6, 2021
50dcb81
Merge branch 'feature/new-altruists' of github.com:pokt-foundation/po…
nymd Jul 6, 2021
8bf37a3
updating requires to imports, resolving PR comments
nymd Jul 6, 2021
62896b9
reverting logger import change
nymd Jul 6, 2021
ac483c1
pushing to usw2
nymd Jul 6, 2021
a6ed6b0
pointing workflows back to correct branches
nymd Jul 6, 2021
917178a
Merge branch 'develop' of github.com:pokt-foundation/portal-api into …
nymd Jul 7, 2021
c9f85cb
adding back origin,ua headers
nymd Jul 7, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pocket-gateway/ecs-task-us-east-2.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"environment": [],
"command": [],
"linuxParameters": null,
"cpu": 2048,
"cpu": 4096,
"resourceRequirements": null,
"ulimits": [
{
Expand Down
2 changes: 1 addition & 1 deletion src/sequence.ts
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ export class GatewaySequence implements SequenceHandler {
response.header('Access-Control-Allow-Credentials', 'true');
response.header('Access-Control-Allow-Methods','GET,HEAD,PUT,PATCH,POST,DELETE');
response.header('Vary', 'Access-Control-Request-Headers');
response.header('Access-Control-Allow-Headers', 'content-type');
response.header('Access-Control-Allow-Headers', 'user-agent,origin,content-type');
response.header('Access-Control-Max-Age', '86400');

if (request.method == 'OPTIONS') {
Expand Down