mirror of
https://github.com/OpenBankProject/API-Explorer-II.git
synced 2026-02-06 18:56:58 +00:00
50 lines
2.3 KiB
Plaintext
50 lines
2.3 KiB
Plaintext
VITE_OBP_API_HOST=https://apisandbox.openbankproject.com
|
|
|
|
### OBP-API mode ###################################
|
|
# If OBP-API split to two instances, eg: apis,portal
|
|
# Then API_Explorer need to set two api hosts: api_hostname and this api_portal_hostname, for all Rest Apis will call api_hostname
|
|
# but for all the portal home page link, we need to use this props. If do not set this, it will use api_hostname value instead.
|
|
VITE_OBP_API_PORTAL_HOST=https://apisandbox.openbankproject.com
|
|
####################################################################################
|
|
|
|
VITE_OBP_API_VERSION=v5.1.0
|
|
#The default version of the root page, it has the default value `OBP+VITE_OBP_API_VERSION`
|
|
#The format must follow standard+Version, e.g., OBPv5.1.0, BGv1, or BGv1.3.
|
|
#VITE_OBP_API_DEFAULT_RESOURCE_DOC_VERSION=OBPv5.1.0
|
|
|
|
# API Manager
|
|
VITE_OBP_API_MANAGER_HOST=https://apimanagersandbox.openbankproject.com
|
|
VITE_SHOW_API_MANAGER_BUTTON=false
|
|
|
|
VITE_OBP_API_EXPLORER_HOST=http://localhost:5173
|
|
VITE_OBP_CONSUMER_KEY=your_consumer_key
|
|
VITE_OBP_CONSUMER_SECRET=your_consumer_secret
|
|
VITE_OBP_REDIRECT_URL=http://localhost:5173/api/callback
|
|
VITE_OPB_SERVER_SESSION_PASSWORD=very secret
|
|
# The above code connects to localhost on port 6379.
|
|
# To connect to a different host or port, use a connection string in the format
|
|
# redis[s]://[[username][:password]@][host][:port][/db-number]
|
|
# Be sure to secure your Redis instance
|
|
VITE_OBP_REDIS_URL = redis://127.0.0.1:6379
|
|
|
|
# Enable the chatbot interface "Opey"
|
|
# Note: For Opey to be connected you will need to create a public key for API Explorer II
|
|
# To do this:
|
|
VITE_CHATBOT_ENABLED=false
|
|
VITE_CHATBOT_URL=http://localhost:5000
|
|
VITE_OPEY_CONSUMER_ID=opey_consumer_id # For granting a consent to Opey
|
|
|
|
# Product styling setting
|
|
#VITE_OBP_LINKS_COLOR="#52b165"
|
|
#VITE_OBP_HEADER_LINKS_COLOR="#39455f"
|
|
#VITE_OBP_HEADER_LINKS_HOVER_COLOR="#39455f"
|
|
#VITE_OBP_HEADER_LINKS_BACKGROUND_COLOR="#eef0f4"
|
|
#VITE_OBP_LOGO_URL=https://static.openbankproject.com/images/obp_logo.png
|
|
|
|
# https://nodejs.org/en/learn/getting-started/nodejs-the-difference-between-development-and-production
|
|
# The value could be: development, staging, production
|
|
# NODE_ENV=development
|
|
|
|
# If you have a problem with session storage (which will cause problems with login) you can enable this. See README for further info.
|
|
#DEBUG=express-session
|