mirror of
https://github.com/n8n-io/n8n.git
synced 2025-01-11 12:57:29 -08:00
parent
a3d0a71719
commit
98a0790276
|
@ -60,8 +60,7 @@ function createApiRouter(
|
|||
export const loadPublicApiVersions = async (): Promise<express.Router[]> => {
|
||||
const swaggerThemePath = path.join(__dirname, 'swaggerTheme.css');
|
||||
const folders = await fs.readdir(__dirname);
|
||||
// const css = (await fs.readFile(swaggerThemePath)).toString();
|
||||
const css = '';
|
||||
const css = (await fs.readFile(swaggerThemePath)).toString();
|
||||
const versions = folders.filter((folderName) => folderName.startsWith('v'));
|
||||
const apiRouters: express.Router[] = [];
|
||||
for (const version of versions) {
|
||||
|
|
Loading…
Reference in a new issue