diff --git a/packages/gasket-plugin-typescript/generator/shared/server.ts b/packages/gasket-plugin-typescript/generator/shared/server.ts index aef15afa2..2db355c92 100644 --- a/packages/gasket-plugin-typescript/generator/shared/server.ts +++ b/packages/gasket-plugin-typescript/generator/shared/server.ts @@ -1,9 +1,6 @@ // Imports use the .js to support a type module application // See README for more information import gasket from './gasket.js'; -{{#if apiApp }} -import './routes/index.js'; -{{/if}} {{#if nextDevProxy }} gasket.actions.startProxyServer(); {{else}} diff --git a/packages/gasket-preset-api/generator/server.js b/packages/gasket-preset-api/generator/server.js index 6ea37a5d0..a54b15ba0 100644 --- a/packages/gasket-preset-api/generator/server.js +++ b/packages/gasket-preset-api/generator/server.js @@ -1,6 +1,2 @@ import gasket from './gasket.js'; -{{#if apiApp }} -import './routes/index.js'; -{{/if}} - gasket.actions.startServer();