Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
feat: use mtls between frontend and backend #37
base: main
Are you sure you want to change the base?
feat: use mtls between frontend and backend #37
Changes from all commits
a2e8ab9
549b1c4
4782ab8
a6061e3
ac9122b
c4d9040
72d1b7f
36c02e5
f9d9e97
6cc972d
58ee737
7ae418f
4018916
c6dcf33
36c1b87
8f1b402
4e19f3d
bcb42eb
7714480
4c32dcb
515d3b0
a7881fd
ea4c8c8
be4620f
5448d09
52b04fc
d2ab499
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should probably avoid hardcoding the URL with the host and the port, as it might be best for it to be dynamic and accounting in which machine it is run (host), and the supplied port that could also come from the CLI argument.
The
VITE_BASE_URL
from before is for custom base path such aslocalhost:port/<BASE_URL>
, which follows the following notation on https://vite.dev/config/shared-options.html#base. It is stored as environment variable as the proxies should also follow e.g.,localhost:port/<BASE_URL>/graphql
. Maybe theBASE_URL
name was a bit misleading, sorry about that!There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've tested locally, I found that adding these two helps making things compatible: