docs: replace environment-specific IPs with localhost
This commit is contained in:
@@ -208,7 +208,7 @@ function asData(json) {
|
||||
// ---------------------------------------------------------------- main
|
||||
async function main() {
|
||||
const env = loadEnv();
|
||||
const base = (env.LIBREDESK_BASE_URL || 'http://192.168.31.61:9000').replace(/\/+$/, '');
|
||||
const base = (env.LIBREDESK_BASE_URL || 'http://localhost:9000').replace(/\/+$/, '');
|
||||
const email = env.LIBREDESK_SYSTEM_EMAIL || 'System';
|
||||
const password = env.LIBREDESK_SYSTEM_USER_PASSWORD;
|
||||
if (!password) throw new Error('缺少 LIBREDESK_SYSTEM_USER_PASSWORD');
|
||||
|
||||
Reference in New Issue
Block a user