Files
replypier/frontend/public/config.dev.js
T
WangShen007 54b949b392 chore(brand): rename the product to ReplyPier
The upstream project name is gone from code, assets, docs and build
output: brand strings, domains (replypier.site and its app/api/docs/help
subdomains), env prefixes, image and network names, the widget's public
JS API (window.ReplyPier, replypierId/BaseUrl/Config/Token), CSS tokens
(--rp-*), file and directory names, and the WordPress plugin package.

- widget loader is now webclient/replypier.min.js; both bundles rebuilt
  from source (backend/assets/widget.{js,css}, frontend/public/webclient)
- NOTICE, llms.txt, CONTRIBUTING, HELP_CENTER_INFRA and config.dev.js
  rewritten rather than string-swapped; the demo config no longer ships
  the previous vendor's Firebase/Razorpay/Google keys
- new migration replypier_ai_model_001 adds REPLYPIER to the managed
  AIModelType and rewrites pre-rename rows
- local compose project, database, role and volume renamed; LOCAL_DEPLOY
  documents carrying the old local data over
2026-10-26 00:51:03 +08:00

30 lines
873 B
JavaScript

// Runtime configuration - this file gets replaced at container startup
// Assigned to `self` so the service worker can importScripts() it too;
// in a page self === window, so window.APP_CONFIG still works.
self.APP_CONFIG = {
// API URLs
API_URL: "http://localhost:8000/api/v1",
WS_URL: "ws://localhost:8000",
WIDGET_URL: "http://localhost:8000",
// Firebase Configuration (fill in for your own project; empty disables it)
FIREBASE_API_KEY: "",
FIREBASE_AUTH_DOMAIN: "",
FIREBASE_PROJECT_ID: "",
FIREBASE_MESSAGING_SENDER_ID: "",
FIREBASE_APP_ID: "",
FIREBASE_STORAGE_BUCKET: "",
FIREBASE_MEASUREMENT_ID: "",
FIREBASE_VAPID_KEY: "",
// Razorpay Checkout
RAZORPAY_KEY_ID: "",
// Google Fonts API
GOOGLE_FONTS_API_KEY: "",
// Node Environment
NODE_ENV: "development",
HOST: "0.0.0.0"
};