mirror of
https://github.com/ToolJet/ToolJet
synced 2026-05-23 08:58:26 +00:00
fix
This commit is contained in:
parent
1c57ae7fc8
commit
d949f29e7c
1 changed files with 0 additions and 10 deletions
|
|
@ -110,16 +110,6 @@ const imports = [
|
|||
StaticFileServerModule
|
||||
];
|
||||
|
||||
if (process.env.SERVE_CLIENT !== 'false' && process.env.NODE_ENV === 'production') {
|
||||
imports.unshift(
|
||||
ServeStaticModule.forRoot({
|
||||
// Have to remove trailing slash of SUB_PATH.
|
||||
serveRoot: process.env.SUB_PATH === undefined ? '' : process.env.SUB_PATH.replace(/\/$/, ''),
|
||||
rootPath: join(__dirname, '../../../', 'frontend/build'),
|
||||
})
|
||||
);
|
||||
}
|
||||
|
||||
if (process.env.APM_VENDOR == 'sentry') {
|
||||
imports.unshift(
|
||||
SentryModule.forRoot({
|
||||
|
|
|
|||
Loading…
Reference in a new issue