Fix API port conflict default 23568, bcrypt registration, clearer login errors.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
dekun
2026-06-28 13:04:59 +08:00
parent 8652476abc
commit 2a5fb5f469
4 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -27,7 +27,7 @@ function loadEnv() {
const env = loadEnv()
const webPort = env.WEB_PORT || '23566'
const apiPort = env.API_PORT || '8000'
const apiPort = env.API_PORT || '23568'
const venvPython = path.join(root, 'backend', 'venv', 'bin', 'python')
module.exports = {
+1 -1
View File
@@ -9,7 +9,7 @@ if (fs.existsSync(envPath)) {
}
const PORT = Number(process.env.WEB_PORT || 23566)
const API_TARGET = process.env.API_TARGET || 'http://127.0.0.1:8000'
const API_TARGET = process.env.API_TARGET || 'http://127.0.0.1:23568'
const STATIC_ROOT = path.join(__dirname, '../../frontend/dist')
const app = express()