docs: replace environment-specific IPs with localhost

This commit is contained in:
wangliang
2026-10-23 10:41:14 +08:00
parent 2803fb5dd1
commit 1ae25f1597
27 changed files with 66 additions and 66 deletions
+1 -1
View File
@@ -31,7 +31,7 @@ function loadEnv(file) {
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(/\/+$/, '');
const login = await fetch(base + '/api/v1/auth/login', {
method: 'POST',