feat(frontend): show error ID for internal server errors
This commit is contained in:
parent
83b62b4845
commit
a0ba712632
8 changed files with 1554 additions and 25 deletions
|
@ -1,7 +1,18 @@
|
|||
# Example .env file--DO NOT EDIT, copy to .env or .env.local then edit
|
||||
|
||||
# The language the frontend will use. Valid languages are listed in src/lib/i18n/index.ts.
|
||||
PUBLIC_LANGUAGE=en
|
||||
# The public base URL, i.e. the one users will see. Used for building links.
|
||||
PUBLIC_BASE_URL=https://pronouns.cc
|
||||
# The base URL for the URL shortener service. Used for building short links.
|
||||
PUBLIC_SHORT_URL=https://prns.cc
|
||||
# The base public URL for the API. This is (almost) always the public base URL + /api.
|
||||
PUBLIC_API_BASE=https://pronouns.cc/api
|
||||
# The base *private* URL for the API's rate limiter proxy. The frontend will rewrite API URLs to use this.
|
||||
# In development, you can set this to the same value as $PRIVATE_INTERNAL_API_HOST, but be aware that this will disable rate limiting.
|
||||
PRIVATE_API_HOST=http://localhost:5003/api
|
||||
# The base private URL for the API, which bypasses the rate limiter. Used for /api/internal paths and unauthenticated GET requests.
|
||||
PRIVATE_INTERNAL_API_HOST=http://localhost:6000/api
|
||||
|
||||
# The Sentry URL to use. Optional.
|
||||
PRIVATE_SENTRY_DSN=https://examplePublicKey@o0.ingest.sentry.io/0
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue