fix: update API endpoint for user login and adjust authentication logic in App component; modify rating display in MediaItem component

This commit is contained in:
ethan.chen
2025-06-13 14:32:34 +08:00
parent 35e0df26fe
commit 3c346021e3
4 changed files with 10 additions and 9 deletions

View File

@@ -1,7 +1,7 @@
/*
* @Date: 2025-05-20 17:59:45
* @LastEditors: 陈子健
* @LastEditTime: 2025-05-20 18:04:34
* @LastEditTime: 2025-06-13 14:07:41
* @FilePath: /my-score/frontend/vite.config.ts
*/
import { defineConfig } from 'vite'
@@ -13,7 +13,7 @@ export default defineConfig({
server: {
proxy: {
'/api': {
target: 'http://127.0.0.1:5000',
target: 'http://127.0.0.1:8000',
changeOrigin: true,
secure: false
}