-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.js
More file actions
28 lines (21 loc) · 992 Bytes
/
config.js
File metadata and controls
28 lines (21 loc) · 992 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
// config.js - Simple Configuration for Novel November
// Just change these values when switching between development and production
// ============================================
// 🔧 CHANGE THESE VALUES HERE
// ============================================
// FOR DEVELOPMENT - Use this URL when testing locally
// const BASE_URL = 'your-url';
// FOR PRODUCTION - Use this URL when deploying
const BASE_URL = 'your-url';
// ============================================
// Don't change anything below this line
// ============================================
window.APP_CONFIG = {
// Backend API URL
BACKEND_URL: BASE_URL + 'your-url',
// Auth URLs - Change this if your are not using Catalyst Login system
AUTH_LOGIN_URL: BASE_URL + '/__catalyst/auth/login',
AUTH_SIGNUP_URL: BASE_URL + '/__catalyst/auth/signup',
AUTH_LOGOUT_URL: BASE_URL + '/__catalyst/auth/logout',
};
console.log('✅ Config loaded - Backend URL:', window.APP_CONFIG.BACKEND_URL);