mirror of
https://git.mirrors.martin98.com/https://github.com/SigNoz/signoz
synced 2025-06-21 18:02:09 +08:00
15 lines
269 B
JavaScript
15 lines
269 B
JavaScript
/* eslint-disable */
|
|
// @ts-ignore
|
|
// @ts-nocheck
|
|
import { createProxyMiddleware } from 'http-proxy-middleware';
|
|
|
|
export default function (app) {
|
|
app.use(
|
|
'/tunnel',
|
|
createProxyMiddleware({
|
|
target: process.env.TUNNEL_DOMAIN,
|
|
changeOrigin: true,
|
|
}),
|
|
);
|
|
}
|