Skip to content

Commit

Permalink
Fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
0x6675636b796f75676974687562 committed Nov 11, 2024
1 parent 8fe8813 commit ed3bb3c
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ class StorageInitializer(
}
doInitReactively()
.map { true } // doInit worked
.defaultIfEmpty(false) // doInit is emtpy
.defaultIfEmpty(false) // doInit is empty
.doOnNext { wasDoInitCalled ->
require(isInitFinishedCount.decrementAndGet() >= 0) {
"Init method cannot be called more than 1 time. Initialization $storageName already finished by another run"
Expand Down
4 changes: 2 additions & 2 deletions frontend-common/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ config.devServer = Object.assign(
`historyApiFallback` makes `webpack-dev-server` return `index.html` in case of `404 Not Found`.

Sometimes it is useful to add authorization headers when proxying to some Spring services e.g. `save-backend`.
It can be done with setting `onPorxyReq`:
It can be done with setting `onProxyReq`:
```javascript
onProxyReq: (proxyReq, req, res) => {
proxyReq.setHeader("X-Authorization-Id", "1");
Expand Down Expand Up @@ -145,4 +145,4 @@ Thus, we add `Authorization` and `X-Authorization-Source` headers that correspon
* Avoid potential name conflicts between local users (those authenticated using
_HTTP Basic Auth_) and users created via an external _OAuth_ provider. For
example, if you have a local user named `torvalds`, don't try to authenticate
as a [_GitHub_ user with the same name](https://github.com/torvalds).
as a [_GitHub_ user with the same name](https://github.com/torvalds).
2 changes: 1 addition & 1 deletion save-frontend/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ config.devServer = Object.assign(
`historyApiFallback` makes `webpack-dev-server` return `index.html` in case of `404 Not Found`.

Sometimes it is useful to add authorization headers when proxying to some Spring services e.g. `save-backend`.
It can be done with setting `onPorxyReq`:
It can be done with setting `onProxyReq`:
```javascript
onProxyReq: (proxyReq, req, res) => {
proxyReq.setHeader("X-Authorization-Id", "1");
Expand Down

0 comments on commit ed3bb3c

Please sign in to comment.