mirror of
https://github.com/azaion/ui.git
synced 2026-06-24 20:11:10 +00:00
chore: update API configuration and enhance authentication handling
- Updated Vite configuration to use the production API endpoint. - Modified TypeScript build info to include new config file. - Refactored API client to support authenticated URLs. - Updated various components to utilize the new authenticated API URL for media fetching. - Removed obsolete CSS and JS files from the distribution directory.
This commit is contained in:
+2
-1
@@ -13,8 +13,9 @@ export default defineConfig({
|
||||
server: {
|
||||
proxy: {
|
||||
'/api': {
|
||||
target: 'http://localhost:8080',
|
||||
target: 'https://api.azaion.com',
|
||||
changeOrigin: true,
|
||||
secure: true,
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user