mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-08-24 05:07:06 +08:00
fix: nextconfig dev url
This commit is contained in:
@@ -11,12 +11,10 @@ const EDITOR_VERSION = enableDebugLocal
|
|||||||
|
|
||||||
const profileTarget = {
|
const profileTarget = {
|
||||||
ac: '100.85.73.88:12001',
|
ac: '100.85.73.88:12001',
|
||||||
dev: '192.168.65.20:3000',
|
dev: '100.77.180.48:11001',
|
||||||
local: '127.0.0.1:3000',
|
local: '127.0.0.1:3000',
|
||||||
};
|
};
|
||||||
|
|
||||||
// 100.77.180.48:11001
|
|
||||||
|
|
||||||
const getRedirectConfig = profile => {
|
const getRedirectConfig = profile => {
|
||||||
const target = profileTarget[profile || 'dev'] || profileTarget['dev'];
|
const target = profileTarget[profile || 'dev'] || profileTarget['dev'];
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user