Implement compression quota refunds and admin manual subscription

This commit is contained in:
2025-12-19 23:28:32 +08:00
commit 11f48fd3dd
106 changed files with 27848 additions and 0 deletions

29
frontend/vite.config.ts Normal file
View File

@@ -0,0 +1,29 @@
import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'
import { fileURLToPath, URL } from 'node:url'
// https://vite.dev/config/
export default defineConfig({
plugins: [vue()],
resolve: {
alias: {
'@': fileURLToPath(new URL('./src', import.meta.url)),
},
},
server: {
proxy: {
'/api': {
target: process.env.VITE_PROXY_TARGET ?? 'http://127.0.0.1:8080',
changeOrigin: true,
},
'/downloads': {
target: process.env.VITE_PROXY_TARGET ?? 'http://127.0.0.1:8080',
changeOrigin: true,
},
'/health': {
target: process.env.VITE_PROXY_TARGET ?? 'http://127.0.0.1:8080',
changeOrigin: true,
},
},
},
})