mirror of
https://github.com/yangjian102621/geekai.git
synced 2026-08-29 02:17:13 +00:00
feat(release): migrate GeekAI v4.3.0 to open source
- Sync backend and frontend from GeekAI Plus v4.3.0 - Remove commercial License flows and update open-source deployment defaults - Preserve Docker Compose deployment and bump image tags to v4.3.0 BREAKING CHANGE: commercial License configuration and related endpoints are removed
This commit is contained in:
@@ -51,11 +51,20 @@ export default defineConfig(({ mode }) => {
|
||||
},
|
||||
},
|
||||
|
||||
css: {
|
||||
preprocessorOptions: {
|
||||
scss: {
|
||||
api: 'modern-compiler', // 使用新的 Sass API,避免 legacy JS API 警告
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
server: {
|
||||
port: 8888, // 设置你想要的端口号
|
||||
open: false, // 可选:启动服务器时自动打开浏览器
|
||||
...(process.env.NODE_ENV === 'development'
|
||||
? {
|
||||
allowedHosts: ['localhost', '127.0.0.1', 'sapi.geekai.me'],
|
||||
proxy: {
|
||||
'/api': {
|
||||
target: apiHost,
|
||||
|
||||
Reference in New Issue
Block a user