mirror of
https://github.com/Sagit-chu/flvx.git
synced 2026-09-29 16:06:36 +08:00
9703e4a081
* feat: restrict user permissions and multi-node IP constraints - Non-admin users cannot set speedId or inPort on forward create/update - Multi-entrance tunnels disable custom listen IP for forwards - Multi-exit tunnels disable custom connect IP - Multi-node hop chains disable custom connect IP per hop - Remove tunnel-first-IP fallback in forward ingress resolution - Add contract tests for non-admin permission restrictions Entire-Checkpoint: 133693290660 * fix: allow non-admin users to submit null speedId and zero inPort - Backend: Check speedId is not nil before rejecting non-admin requests - Backend: Only reject inPort if value > 0 for non-admin users - Frontend: Only include speedId and inPort in payload for admin users - Tests: Add contract tests for null speedId and zero inPort cases * refactor: simplify forward mutation payload construction
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.