Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feat] SVG 변경에 따른 기본 style 수정 #296

Merged
merged 2 commits into from
Nov 27, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion apps/api/src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,20 @@ async function bootstrap() {
transform: true,
})
);

app.useGlobalInterceptors(new ResponseInterceptor());
app.useGlobalFilters(new HttpExceptionFilter(), new DBExceptionFilter());
app.setGlobalPrefix('api');

const configService = app.get(ConfigService);
const port = configService.get<number>('API_SERVER_PORT') ?? 3000;

const clientUrl = configService.get<string>('CLIENT_URL') ?? 'http://localhost:5173';
const port = configService.get<number>('API_SERVER_PORT') ?? 3065;

app.enableCors({
origin: [clientUrl],
credentials: true,
});

await app.listen(port);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ function PaginationControls({
style={{ visibility: isFirstPage ? 'hidden' : 'visible' }}
className="m-4 flex items-center justify-center"
>
<ChevronLeftIc />
<ChevronLeftIc className="fill-white" />
</button>
{children}
<button
Expand All @@ -35,7 +35,7 @@ function PaginationControls({
className="m-4 flex items-center justify-center"
onClick={onNextPage}
>
<ChevronRightIc />
<ChevronRightIc className="fill-white" />
</button>
</>
);
Expand Down
Loading