api: remove localization, renovate error response
This commit is contained in:
@@ -5,7 +5,6 @@ import express from "express";
|
||||
|
||||
import { Bright, Green, Red } from "./modules/sub/consoleText.js";
|
||||
import { getCurrentBranch, shortCommit } from "./modules/sub/currentCommit.js";
|
||||
import { loadLoc } from "./localization/manager.js";
|
||||
import { env } from "./modules/config.js"
|
||||
|
||||
import path from 'path';
|
||||
@@ -21,8 +20,6 @@ const __dirname = path.dirname(__filename).slice(0, -4);
|
||||
|
||||
app.disable('x-powered-by');
|
||||
|
||||
await loadLoc();
|
||||
|
||||
if (env.apiURL) {
|
||||
const { runAPI } = await import('./core/api.js');
|
||||
runAPI(express, app, gitCommit, gitBranch, __dirname)
|
||||
|
||||
Reference in New Issue
Block a user