Skip to content

Allow localhost-only routes to be used from host - #5867

Merged
Zensey merged 3 commits into
masterfrom
fix/id-export-docker
Sep 1, 2023
Merged

Allow localhost-only routes to be used from host#5867
Zensey merged 3 commits into
masterfrom
fix/id-export-docker

Conversation

@Zensey

@Zensey Zensey commented Aug 29, 2023

Copy link
Copy Markdown
Contributor

Regarding the case when node is run on docker. When a request comes from 172.17.0.1 it could be sent not neccessarily from host, there are many possibilities.

@Snawoot Snawoot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ask @mdomasevicius for details. Should work in docker with 127.0.0.1 as well.

@Zensey
Zensey force-pushed the fix/id-export-docker branch from e1c0df9 to af3e07b Compare August 29, 2023 15:18
…docker

Signed-off-by: Anton Litvinov <jnashicq@gmail.com>
@Zensey
Zensey force-pushed the fix/id-export-docker branch from af3e07b to 389a782 Compare August 29, 2023 15:19
@codecov-commenter

codecov-commenter commented Aug 29, 2023

Copy link
Copy Markdown

Codecov Report

Merging #5867 (98c4576) into master (e233f37) will decrease coverage by 0.02%.
The diff coverage is 33.33%.

❗ Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the GitHub App Integration for your organization. Read more.

@@            Coverage Diff             @@
##           master    #5867      +/-   ##
==========================================
- Coverage   37.51%   37.50%   -0.02%     
==========================================
  Files         373      373              
  Lines       20796    20797       +1     
==========================================
- Hits         7802     7800       -2     
- Misses      12217    12224       +7     
+ Partials      777      773       -4     
Files Changed Coverage Δ
tequilapi/middlewares/http_middlewares.go 8.69% <0.00%> (ø)
tequilapi/http_api_server.go 70.83% <100.00%> (+0.62%) ⬆️

... and 4 files with indirect coverage changes

Signed-off-by: Anton Litvinov <jnashicq@gmail.com>
@Zensey Zensey changed the title Allow localhost-only routes to be used from host when node is run on docker Allow localhost-only routes to be used from host Sep 1, 2023
@Zensey
Zensey merged commit 4a25636 into master Sep 1, 2023
@Zensey
Zensey deleted the fix/id-export-docker branch September 1, 2023 12:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants