Skip to content

Commit

Permalink
🚑 Temporary remove server from swagger documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
Xen0Xys committed Jan 4, 2024
1 parent 3fc0cd9 commit cacd416
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ async function startHttpsServer(){
logServerStart(process.env.BIND_ADDRESS, process.env.HTTP_PORT, "https");
}

// eslint-disable-next-line @typescript-eslint/no-unused-vars
async function loadServer(server: NestFastifyApplication<RawServerDefault>, serverAddress: string){
// Config
server.setGlobalPrefix(process.env.PREFIX);
Expand All @@ -94,7 +95,6 @@ async function loadServer(server: NestFastifyApplication<RawServerDefault>, serv
.setDescription("Documentation for the Phoenix API")
.setVersion(process.env.npm_package_version)
.addBearerAuth()
.addServer(serverAddress)
.build();
const document = SwaggerModule.createDocument(server, config);
const theme = new SwaggerTheme("v3");
Expand Down

0 comments on commit cacd416

Please sign in to comment.