Skip to content
This repository has been archived by the owner on Feb 12, 2024. It is now read-only.

fix: switch to generated protobuf code for grpc-protocol #3655

Closed
wants to merge 2 commits into from

Conversation

achingbrain
Copy link
Member

The json object emitted by protobufjs seems to be incompatible with it's own INamespace definition in the latest release so switch to using generated code.

This should be a bit faster to load anyway.

The json object emitted by protobufjs seems to be incompatible with
it's own INamespace definition in the latest release so switch to
using generated code.

This should be a bit faster to load anyway.
@achingbrain achingbrain marked this pull request as draft April 29, 2021 13:58
@achingbrain
Copy link
Member Author

I think we need protobufjs/protobuf.js#1115 to land in protobufjs before we can do this.

achingbrain added a commit that referenced this pull request May 7, 2021
achingbrain added a commit that referenced this pull request May 7, 2021
* fix: reject requests when cors origin list is empty (#3674)

If CORS origin list is empty, Hapi throws an error as it considers
that to be invalid configuration.

We want to reject requests that send and origin or a referer when
no allowed origins have been configured, so when these headers are
sent, reject the request if no allowed origins are present in the
config.

Co-authored-by: Vasco Santos <vasco.santos@moxy.studio>
Co-authored-by: Marcin Rataj <lidel@lidel.org>

* chore: ts-ignore until #3655 lands

Co-authored-by: Vasco Santos <vasco.santos@moxy.studio>
Co-authored-by: Marcin Rataj <lidel@lidel.org>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
No open projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants