Files
smt/vite.config.js
nepiedg 4066bd31fa feat: enhance user profile and achievement features
- Add functionality for users to update their profile picture and nickname
- Implement achievement theme selection in onboarding
- Update API integration for profile updates and achievement themes
- Refine UI elements for better user interaction and experience
2026-04-04 14:22:22 +08:00

27 lines
513 B
JavaScript

import { fileURLToPath, URL } from 'node:url'
import { defineConfig } from 'vite'
import Uni from '@uni-helper/plugin-uni'
export default defineConfig({
server: {
host: '0.0.0.0',
port: 5173,
strictPort: true,
proxy: {
'/api/v1': {
// target: 'http://localhost:8080',
target: 'http://192.168.31.73:8080',
changeOrigin: true
}
}
},
resolve: {
alias: {
'@': fileURLToPath(new URL('./src', import.meta.url))
}
},
plugins: [Uni()]
})