Files
replypier/frontend/public/config.dev.js
T
WangShen007 20fef2b9f3 chore: settle product naming across app, widget and deployments
One word everywhere: ReplyPier in UI copy, package and image names, the
replypier.site domains (app/api/docs/help), REPLYPIER_* settings and the
--rp-* design tokens.

- public widget API is window.ReplyPier with replypierId / replypierBaseUrl /
  replypierConfig / replypierToken, loader at webclient/replypier.min.js;
  both bundles rebuilt from source
- NOTICE, llms.txt, CONTRIBUTING, HELP_CENTER_INFRA and the demo runtime
  config rewritten; the demo config ships no third-party keys
- migration adds the ReplyPier managed model value to the AI model enum
- local compose project, database, role, volume and Docker network carry the
  same name
2026-10-26 00:57:22 +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"
};