forked from Yara724/api
FIX FILE SIZES
This commit is contained in:
@@ -9,8 +9,6 @@ async function bootstrap() {
|
||||
cors: true,
|
||||
});
|
||||
|
||||
app.enableCors();
|
||||
|
||||
app.enableCors({
|
||||
origin: "*",
|
||||
methods: "GET, PUT, POST, DELETE, PATCH, OPTIONS",
|
||||
@@ -18,7 +16,7 @@ async function bootstrap() {
|
||||
});
|
||||
|
||||
app.use(
|
||||
["/docs", "/docs-json", "/swagger"],
|
||||
["/docs"],
|
||||
basicAuth({
|
||||
challenge: true,
|
||||
users: {
|
||||
@@ -56,4 +54,4 @@ async function bootstrap() {
|
||||
await app.listen(process.env.PORT);
|
||||
}
|
||||
|
||||
bootstrap();
|
||||
void bootstrap();
|
||||
|
||||
Reference in New Issue
Block a user