mirror of
https://git.mirrors.martin98.com/https://github.com/SigNoz/signoz
synced 2025-10-14 22:51:29 +08:00
15 lines
293 B
JavaScript
15 lines
293 B
JavaScript
/* eslint-disable */
|
|
// @ts-ignore
|
|
// @ts-nocheck
|
|
import { legacyCreateProxyMiddleware } from 'http-proxy-middleware';
|
|
|
|
export default function (app) {
|
|
app.use(
|
|
'/tunnel',
|
|
legacyCreateProxyMiddleware({
|
|
target: `${process.env.TUNNEL_DOMAIN}/tunnel`,
|
|
changeOrigin: true,
|
|
}),
|
|
);
|
|
}
|