design(preview): match toggle button sizes to device toggles
This commit is contained in:
@@ -158,7 +158,10 @@ function renderDevCompose(projectSlug: string, projectId: string): string {
|
||||
// process is actually listening on the port — Traefik does the
|
||||
// health check.
|
||||
const token = projectPreviewToken(projectId);
|
||||
const traefikLabels: string[] = ['"traefik.enable=true"'];
|
||||
const traefikLabels: string[] = [
|
||||
'"traefik.enable=true"',
|
||||
'"traefik.docker.network=coolify"',
|
||||
];
|
||||
for (let i = 0; i < PREVIEW_PORT_COUNT; i++) {
|
||||
const port = PREVIEW_BASE_PORT + i;
|
||||
const router = `vibn-dev-${projectSlug}-${i}`;
|
||||
|
||||
Reference in New Issue
Block a user