Skip to content

Commit 59c6a97

Browse files
authored
feat(config): add root path GET requests to default public endpoints (#62)
1 parent 6cb0b3c commit 59c6a97

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/stac_auth_proxy/config.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ class Settings(BaseSettings):
5656
enable_authentication_extension: bool = True
5757
default_public: bool = False
5858
public_endpoints: EndpointMethodsNoScope = {
59+
r"^/$": ["GET"],
5960
r"^/api.html$": ["GET"],
6061
r"^/api$": ["GET"],
6162
r"^/docs/oauth2-redirect": ["GET"],

0 commit comments

Comments
 (0)