mirror of
https://github.com/yusing/godoxy.git
synced 2025-12-21 08:29:57 -06:00
feat(rules): add regex for image and font file paths in webui presets
This commit is contained in:
@@ -5,6 +5,7 @@
|
||||
on: |
|
||||
!path regex("(_next/static|_next/image|favicon.ico).*")
|
||||
!path glob("/api/v1/auth/*")
|
||||
!path regex("[A-Za-z0-9_-]+\.(svg|png|jpg|jpeg|gif|ico|webp|woff2?|eot|ttf|otf)(\?.+)?")
|
||||
!path /api/v1/version
|
||||
do: require_auth
|
||||
- name: proxy to backend
|
||||
|
||||
Reference in New Issue
Block a user