Fix terminal deployment regressions
This commit is contained in:
@@ -21,6 +21,13 @@
|
|||||||
mode: "0644"
|
mode: "0644"
|
||||||
register: courseware_terminal_sshd_config
|
register: courseware_terminal_sshd_config
|
||||||
|
|
||||||
|
- name: Ensure sshd runtime directory exists
|
||||||
|
become: true
|
||||||
|
file:
|
||||||
|
path: /run/sshd
|
||||||
|
state: directory
|
||||||
|
mode: "0755"
|
||||||
|
|
||||||
- name: Validate sshd configuration
|
- name: Validate sshd configuration
|
||||||
become: true
|
become: true
|
||||||
command:
|
command:
|
||||||
@@ -31,13 +38,6 @@
|
|||||||
- /etc/ssh/sshd_config
|
- /etc/ssh/sshd_config
|
||||||
changed_when: false
|
changed_when: false
|
||||||
|
|
||||||
- name: Ensure sshd runtime directory exists
|
|
||||||
become: true
|
|
||||||
file:
|
|
||||||
path: /run/sshd
|
|
||||||
state: directory
|
|
||||||
mode: "0755"
|
|
||||||
|
|
||||||
- name: Start and enable sshd with systemd when available
|
- name: Start and enable sshd with systemd when available
|
||||||
become: true
|
become: true
|
||||||
systemd:
|
systemd:
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
diff --git a/src/app/labs/[slug]/page.tsx b/src/app/labs/[slug]/page.tsx
|
diff --git a/src/app/labs/[slug]/page.tsx b/src/app/labs/[slug]/page.tsx
|
||||||
index f67308f..a6aac38 100644
|
index eb949ae..bb3d51c 100644
|
||||||
--- a/src/app/labs/[slug]/page.tsx
|
--- a/src/app/labs/[slug]/page.tsx
|
||||||
+++ b/src/app/labs/[slug]/page.tsx
|
+++ b/src/app/labs/[slug]/page.tsx
|
||||||
@@ -462,6 +462,19 @@ function markdownToHtml(markdown: string) {
|
@@ -462,6 +462,19 @@ function markdownToHtml(markdown: string) {
|
||||||
@@ -41,20 +41,15 @@ index f67308f..a6aac38 100644
|
|||||||
return (
|
return (
|
||||||
<main className="mx-auto w-full max-w-5xl px-6 py-10">
|
<main className="mx-auto w-full max-w-5xl px-6 py-10">
|
||||||
diff --git a/src/components/labs/LabContent.tsx b/src/components/labs/LabContent.tsx
|
diff --git a/src/components/labs/LabContent.tsx b/src/components/labs/LabContent.tsx
|
||||||
index 7a7ce52..8778a23 100644
|
index 6addccf..afdd12f 100644
|
||||||
--- a/src/components/labs/LabContent.tsx
|
--- a/src/components/labs/LabContent.tsx
|
||||||
+++ b/src/components/labs/LabContent.tsx
|
+++ b/src/components/labs/LabContent.tsx
|
||||||
@@ -277,7 +277,12 @@ export function LabContent({ className, html }: LabContentProps) {
|
@@ -346,6 +346,7 @@ export function LabContent({ className, html }: LabContentProps) {
|
||||||
>
|
<img
|
||||||
<div className="lab-image-modal__surface" onClick={(event) => event.stopPropagation()}>
|
className="lab-image-modal__image"
|
||||||
{/* eslint-disable-next-line @next/next/no-img-element */}
|
src={zoomedImage.src}
|
||||||
- <img className="lab-image-modal__image" src={zoomedImage.src} alt={zoomedImage.alt} />
|
alt={zoomedImage.alt}
|
||||||
+ <img
|
|
||||||
+ className="lab-image-modal__image"
|
|
||||||
+ src={zoomedImage.src}
|
|
||||||
+ alt={zoomedImage.alt}
|
|
||||||
+ referrerPolicy="no-referrer"
|
+ referrerPolicy="no-referrer"
|
||||||
+ />
|
/>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
) : null}
|
|
||||||
|
|||||||
Reference in New Issue
Block a user