fix: use http

This commit is contained in:
Brandon Kalinowski 2024-10-28 18:07:50 +00:00
parent e32f1dee91
commit 90a2d31352

View File

@ -1,8 +1,6 @@
#!/bin/bash
set -euxo pipefail
OPENFGA_FQDN="localhost"
# see https://github.com/openfga/cli/releases
# renovate: datasource=github-releases depName=openfga/cli
openfga_cli_version='0.6.1'
@ -21,6 +19,6 @@ rm -rf "$t"
# see https://github.com/openfga/cli?tab=readme-ov-file#configuration
install /dev/null -m 600 ~/.fga.yaml
cat >~/.fga.yaml <<EOF
api-url: https://$OPENFGA_FQDN:8080
api-url: http://127.0.0.1:8080
api-token: abracadabra
EOF