This commit is contained in:
2026-10-27 20:40:34 +01:00
parent 502da31a46
commit 4b03334b30
5 changed files with 10 additions and 24 deletions
+1 -1
View File
@@ -8,7 +8,7 @@ const YAML = require('yamljs');
const apiRouter = require('./routes/api');
const app = express();
const openApiPath = path.resolve(__dirname, '../webroot/openapi.yaml');
const openApiPath = path.resolve(__dirname, 'openapi.yaml');
const openApiDocument = YAML.parse(fs.readFileSync(openApiPath, 'utf8'));
app.disable('x-powered-by');