docs: replace environment-specific IPs with localhost
This commit is contained in:
@@ -29,7 +29,7 @@ const sleep = (ms) => new Promise((r) => setTimeout(r, ms));
|
||||
|
||||
async function main() {
|
||||
const env = loadEnv(path.join(ROOT, '.env'));
|
||||
const base = (env.LIBREDESK_BASE_URL || 'http://192.168.31.61:9000').replace(/\/+$/, '');
|
||||
const base = (env.LIBREDESK_BASE_URL || 'http://localhost:9000').replace(/\/+$/, '');
|
||||
|
||||
// 1. admin session: 找到 Website inbox 的 UUID
|
||||
const loginRes = await fetch(`${base}/api/v1/auth/login`, {
|
||||
|
||||
Reference in New Issue
Block a user