Skip to content

Commit

Permalink
wip - remove req and res types in server
Browse files Browse the repository at this point in the history
  • Loading branch information
hichri-louay committed Oct 9, 2023
1 parent 5c4fdf8 commit fab9bad
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ export function app(): express.Express {
server.get('/campaign/**/edit', getStaticFiles);

// All regular routes use the Universal engine
server.get('/campaign/**', (req: { baseUrl: any; }, res: { render: (arg0: string, arg1: { req: any; providers: { provide: InjectionToken<string>; useValue: any; }[]; }) => void; }) => {
server.get('/campaign/**', (req,res) => {
res.render('index', {
req,
providers: [{ provide: APP_BASE_HREF, useValue: req.baseUrl }]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<div
class="row d-flex justify-content-center align-items-end pt-3 mb-1"
[attr.style]="isActive ? 'display: none!important' : 'flex'"
[style]="!!isActive && isActive? 'display: none!important' : 'flex'"
>
<div
class="col-xl-10 col-md-12 col-lg-10 col-sm-12 d-flex align-items-center flex-xl-row flex-lg-row flex-md-row flex-sm-column flex-column"
Expand Down Expand Up @@ -149,7 +149,7 @@
-->
<div
class="justify-content-center"
[attr.style]=" 'display: flex'"
style="display: flex"
>
<div
class="col-xl-4 col-md-6 col-lg-5 col-sm-8 d-flex justify-content-center"
Expand Down

0 comments on commit fab9bad

Please sign in to comment.