mirror of
https://github.com/woodchen-ink/proxy-go.git
synced 2025-07-18 08:31:55 +08:00
- Optimize latency bucket counter initialization using pointer creation - Add type checking when loading latency distribution metrics - Simplify counter initialization and access in metrics collector - Enhance type safety for atomic counter operations
13 lines
255 B
JavaScript
13 lines
255 B
JavaScript
/** @type {import('next').NextConfig} */
|
|
const nextConfig = {
|
|
async rewrites() {
|
|
return [
|
|
{
|
|
source: '/admin/api/:path*',
|
|
destination: 'http://127.0.0.1:3336/admin/api/:path*',
|
|
},
|
|
]
|
|
},
|
|
}
|
|
|
|
module.exports = nextConfig
|