mirror of
https://github.com/n8n-io/n8n.git
synced 2024-12-23 11:44:06 -08:00
⚡ Remove css path
This commit is contained in:
parent
e53e9468c6
commit
a3d0a71719
|
@ -60,7 +60,8 @@ 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 = (await fs.readFile(swaggerThemePath)).toString();
|
||||
const css = '';
|
||||
const versions = folders.filter((folderName) => folderName.startsWith('v'));
|
||||
const apiRouters: express.Router[] = [];
|
||||
for (const version of versions) {
|
||||
|
|
Loading…
Reference in a new issue