mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-07-12 12:21:34 +00:00
Update spec path in Server.js
This commit is contained in:
parent
ac4bd0a558
commit
76135800d5
1 changed files with 1 additions and 1 deletions
|
|
@ -206,7 +206,7 @@ class Server {
|
||||||
|
|
||||||
// Install the OpenApiValidator middleware
|
// Install the OpenApiValidator middleware
|
||||||
if (Logger.isDev) {
|
if (Logger.isDev) {
|
||||||
const apiSpec = Path.join(__dirname, 'openapi.json')
|
const apiSpec = Path.join(__dirname, '..', 'docs', 'openapi.json')
|
||||||
app.use(
|
app.use(
|
||||||
OpenApiValidator.middleware({
|
OpenApiValidator.middleware({
|
||||||
apiSpec: apiSpec,
|
apiSpec: apiSpec,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue