mirror of
https://github.com/Sagit-chu/flvx.git
synced 2026-09-29 16:06:36 +08:00
c8eb780c67
- Make SpeedLimit.TunnelID and TunnelName nullable (optional binding) - Add SpeedID field to Forward model for forward-level rate limiting - Update ForwardRecord to include SpeedID for control plane - Update repository methods to handle optional tunnel binding - Update handlers to accept optional tunnelId in create/update - Modify control plane to prioritize Forward.SpeedID over UserTunnel speed limit - Update frontend limit.tsx to support creating speed limits without tunnel binding - Update TypeScript types for optional tunnelId and new speedId fields This allows speed limits to be created as reusable rules that can be applied to either tunnels (via UserTunnel.SpeedID) or individual forwards (via Forward.SpeedID).
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.