diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index bca571871..64d6f2e91 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -74,12 +74,12 @@ jobs: - name: Check the docs for broken links (root) if: github.event_name == 'pull_request' working-directory: docs - run: bundle exec htmlproofer --allow-hash-href --assume-extension ./_site --url-swap '^/firefly/:/' --url-ignore /127.0.0.1/,/localhost/ + run: bundle exec htmlproofer --disable-external --allow-hash-href --assume-extension ./_site --url-swap '^/firefly/:/' --url-ignore /127.0.0.1/,/localhost/ - name: Check the docs for broken links (version) if: github.event_name != 'pull_request' working-directory: docs - run: bundle exec htmlproofer --allow-hash-href --assume-extension ./_site --url-swap '^/firefly/${{ env.DOCS_VERSION }}/:/' --url-ignore /127.0.0.1/,/localhost/ + run: bundle exec htmlproofer --disable-external --allow-hash-href --assume-extension ./_site --url-swap '^/firefly/${{ env.DOCS_VERSION }}/:/' --url-ignore /127.0.0.1/,/localhost/ - name: Deploy docs (version) if: github.event_name == 'push' diff --git a/Makefile b/Makefile index 63b93b717..9e3e51562 100644 --- a/Makefile +++ b/Makefile @@ -100,4 +100,4 @@ manifest: docker: ./docker_build.sh $(DOCKER_ARGS) docs: .ALWAYS - cd docs && bundle install && bundle exec jekyll build && bundle exec htmlproofer --allow-hash-href --assume-extension ./_site --url-swap '^/firefly/:/' --url-ignore /127.0.0.1/,/localhost/ \ No newline at end of file + cd docs && bundle install && bundle exec jekyll build && bundle exec htmlproofer --disable-external --allow-hash-href --assume-extension ./_site --url-swap '^/firefly/:/' --url-ignore /127.0.0.1/,/localhost/ \ No newline at end of file diff --git a/internal/blockchain/fabric/fabric.go b/internal/blockchain/fabric/fabric.go index 60d06ad1c..1433e9814 100644 --- a/internal/blockchain/fabric/fabric.go +++ b/internal/blockchain/fabric/fabric.go @@ -544,6 +544,7 @@ func (f *Fabric) invokeContractMethod(ctx context.Context, channel, chaincode, m res, err := f.client.R(). SetContext(ctx). SetBody(in). + SetHeader("x-firefly-sync", "false"). SetError(&resErr). Post("/transactions") if err != nil || !res.IsSuccess() {