nikeshn commited on
Commit
7d30d89
·
verified ·
1 Parent(s): 3cada8b

Update src/config.py

Browse files
Files changed (1) hide show
  1. src/config.py +5 -1
src/config.py CHANGED
@@ -6,7 +6,7 @@ from pydantic_settings import BaseSettings, SettingsConfigDict
6
 
7
  # Single source of truth for the deployed version. app.py, admin.py and all
8
  # outbound User-Agent strings read this constant - never hardcode versions elsewhere.
9
- LIBBEE_VERSION = "3.10.1"
10
 
11
  class Settings(BaseSettings):
12
  model_config = SettingsConfigDict(
@@ -41,6 +41,10 @@ class Settings(BaseSettings):
41
  # ANALYTICS_CLIENT_SIDE=false to fall back to server-side logging (which
42
  # still buffers and retries) if the frontend cannot be updated.
43
  analytics_client_side: bool = True
 
 
 
 
44
  # Contact for polite-pool identification with open scholarly APIs (OpenAlex, Unpaywall, Crossref).
45
  contact_email: str = "libse@ku.ac.ae"
46
 
 
6
 
7
  # Single source of truth for the deployed version. app.py, admin.py and all
8
  # outbound User-Agent strings read this constant - never hardcode versions elsewhere.
9
+ LIBBEE_VERSION = "3.11.1"
10
 
11
  class Settings(BaseSettings):
12
  model_config = SettingsConfigDict(
 
41
  # ANALYTICS_CLIENT_SIDE=false to fall back to server-side logging (which
42
  # still buffers and retries) if the frontend cannot be updated.
43
  analytics_client_side: bool = True
44
+ # Extra browser origins allowed to call the API, comma-separated. Needed
45
+ # when the chat is embedded somewhere other than the GitHub Pages site,
46
+ # e.g. EXTRA_CORS_ORIGINS=https://kustar.libguides.com,https://libguides.ku.ac.ae
47
+ extra_cors_origins: str = ""
48
  # Contact for polite-pool identification with open scholarly APIs (OpenAlex, Unpaywall, Crossref).
49
  contact_email: str = "libse@ku.ac.ae"
50