Skip to content

Commit 8e56cbb

Browse files
committed
fixup! fix(@angular/build): Add custom middleware for to present an Angular-tailored message
1 parent c587d0b commit 8e56cbb

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

packages/angular/build/src/tools/vite/middlewares/host-check-middleware.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,10 +53,9 @@ function html403(hostname: string): string {
5353
body{font-family:system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans,sans-serif;
5454
line-height:1.4;margin:2rem;color:#1f2937}
5555
code{background:#f3f4f6;padding:.15rem .35rem;border-radius:.25rem}
56-
.box{max-width:760px;margin:0 auto}
56+
main{max-width:760px;margin:0 auto}
5757
h1{font-size:1.5rem;margin-bottom:.75rem}
5858
p{margin:.5rem 0}
59-
.muted{color:#6b7280}
6059
pre{background:#f9fafb;border:1px solid #e5e7eb;padding:.75rem;border-radius:.5rem;overflow:auto}
6160
</style>
6261
</head>

0 commit comments

Comments
 (0)