Skip to content

Commit

Permalink
Auto registers routes for telescope (#767)
Browse files Browse the repository at this point in the history
* Auto registers routes for telescope

* fix: 调整路由注册顺序,确保视图路由在 API 路由之后添加

* fix: 调整静态文件路由注册顺序,确保其在视图路由之后添加

* fix: 更新视图控制器以使用配置路径,调整静态文件链接

* Fix target path

* Fix

* Add ignore paths

* Removed useless configs

* fix: update LogAspect and DbQueryListener to ignore 'telescope' in log messages and SQL queries

* refactor: streamline response handling in RequestHandledListener by removing unnecessary content limit checks

* fix: update ViewController to replace template path placeholder with configured path

* Change view

* refactor: simplify show method in ViewController to directly return index method

* refactor: optimize caching and template rendering in ViewController by using a closure for lazy loading

* refactor: improve request handling and configuration in Telescope by optimizing ignore paths and restructuring request processing logic

* refactor: enhance ignore path handling in TelescopeConfig by using Str::contains for improved path matching

* refactor: simplify ignore path matching in TelescopeConfig by replacing Str::contains with Str::is for improved clarity and functionality

* refactor: enhance request processing in RequestHandledListener by adding type hinting for event parameter and optimizing request validation logic

* fix: improve request validation in RequestHandledListener by adding a check for null requests

* fix: replace get with post

* Ignore redis commands with telescope

* support `/telescope` route

* support `/telescope/`and `/telescope` routes

* Add check batchId logic

* Revert "refactor: optimize caching and template rendering in ViewController by using a closure for lazy loading"

This reverts commit 27b6ede9c74531ab6a84dab604db7202e6ab4516.

* default record when key does not exist

* Optimized fetchRecording

---------

Co-authored-by: Deeka Wong <[email protected]>
Co-authored-by: guandeng <[email protected]>
  • Loading branch information
3 people authored Dec 7, 2024
1 parent d884914 commit 2cf898b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion webpack.mix.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ mix
// file, which we'll read for plugins.
postCss: require('./postcss.config').plugins,
})
.copy('public', '../web-tinker-app/public/vendor/web-tinker');
.copy('public', './public');

0 comments on commit 2cf898b

Please sign in to comment.