Skip to content

Commit

Permalink
Change RESTRICTER_URL default
Browse files Browse the repository at this point in the history
  • Loading branch information
m-schieder committed Sep 26, 2023
1 parent 890dd1f commit 855905c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@ The OpenSlides search service.
| `DATABASE_HOST` | `localhost` | Host of the database. |
| `DATABASE_PORT` | `5432` | Port of the database. |
| `DATABASE_PASSWORD_FILE` | `/run/secrets/postgres_password` | Password file of the database user. |
| `RESTRICTER_URL` | `` | URL to use the restricter from the auto-update-service to filter the query results.|
| `RESTRICTER_URL` | `http://autoupdate:9012/internal/autoupdate` | URL to use the restricter from the auto-update-service to filter the query results.|
2 changes: 1 addition & 1 deletion pkg/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ const (
DefaultDBPasswordFile = "/run/secrets/postgres_password"
DefaultDBHost = "localhost"
DefaultDBPort = 5432
DefaultRestricterURL = ""
DefaultRestricterURL = "http://autoupdate:9012/internal/autoupdate"
)

// Web are the parameters for the web server.
Expand Down

0 comments on commit 855905c

Please sign in to comment.