fix: nextconfig dev url

This commit is contained in:
DiamondThree 2023-01-11 23:59:06 +08:00
parent c014818114
commit c28cca1a13

View File

@ -11,12 +11,10 @@ const EDITOR_VERSION = enableDebugLocal
const profileTarget = {
ac: '100.85.73.88:12001',
dev: '192.168.65.20:3000',
dev: '100.77.180.48:11001',
local: '127.0.0.1:3000',
};
// 100.77.180.48:11001
const getRedirectConfig = profile => {
const target = profileTarget[profile || 'dev'] || profileTarget['dev'];