mirror of
https://github.com/Sagit-chu/flvx.git
synced 2026-09-30 00:06:38 +08:00
5e96a8de72
Implement per-tunnel traffic quota feature: - Add TunnelQuota model with daily/monthly usage tracking - Integrate quota enforcement into flow accumulation path - Pause forwards and disable tunnel when quota exceeded - Block new forward creation/resume when tunnel quota disabled - Auto-reset daily/monthly windows at 00:05 via maintenance job - Add manual reset API endpoint for admins - Include quota config in tunnel backup/restore - Add frontend UI for quota settings and usage display Entire-Checkpoint: e629b27ca437
Vite & HeroUI Template
This is a template for creating applications using Vite and HeroUI (v2).
Technologies Used
How to Use
To clone the project, run the following command:
git clone https://github.com/frontio-ai/vite-template.git
Install dependencies
You can use one of them npm, yarn, pnpm, bun, Example using npm:
npm install
Run the development server
npm run dev
Setup pnpm (optional)
If you are using pnpm, you need to add the following code to your .npmrc file:
public-hoist-pattern[]=*@heroui/*
After modifying the .npmrc file, you need to run pnpm install again to ensure that the dependencies are installed correctly.
License
Licensed under the MIT license.