diff --git a/src/utils/yagna/gsb.ts b/src/utils/yagna/gsb.ts index 1e0db3c3c..54a695090 100644 --- a/src/utils/yagna/gsb.ts +++ b/src/utils/yagna/gsb.ts @@ -27,7 +27,10 @@ export class RequestorApi extends BaseAPI implements GsbRequestorApi { components, }, }), - headers: { authorization: `Bearer ${this.configuration?.apiKey}` }, + headers: { + "Content-Type": "application/json", + authorization: `Bearer ${this.configuration?.apiKey}`, + }, }).catch((e) => { throw new GolemError(`Failed to create service: ${e}`); }); diff --git a/tests/docker/Provider.Dockerfile b/tests/docker/Provider.Dockerfile index 792eca241..9c62cbbd1 100644 --- a/tests/docker/Provider.Dockerfile +++ b/tests/docker/Provider.Dockerfile @@ -38,4 +38,4 @@ RUN apt-get update -q \ && rm -Rf ${YA_DIR_INSTALLER} COPY ./configureProvider.py /configureProvider.py -CMD ["bash", "-c", "python3 /configureProvider.py && golemsp run --payment-network testnet"] +CMD ["bash", "-c", "python3 /configureProvider.py && ya-provider rule set outbound everyone --mode whitelist && ya-provider whitelist add -p ipfs.io && golemsp run --payment-network testnet " ]