Fix terminal deployment regressions
This commit is contained in:
@@ -21,6 +21,13 @@
|
||||
mode: "0644"
|
||||
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
|
||||
become: true
|
||||
command:
|
||||
@@ -31,13 +38,6 @@
|
||||
- /etc/ssh/sshd_config
|
||||
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
|
||||
become: true
|
||||
systemd:
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
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
|
||||
+++ b/src/app/labs/[slug]/page.tsx
|
||||
@@ -462,6 +462,19 @@ function markdownToHtml(markdown: string) {
|
||||
@@ -41,20 +41,15 @@ index f67308f..a6aac38 100644
|
||||
return (
|
||||
<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
|
||||
index 7a7ce52..8778a23 100644
|
||||
index 6addccf..afdd12f 100644
|
||||
--- a/src/components/labs/LabContent.tsx
|
||||
+++ b/src/components/labs/LabContent.tsx
|
||||
@@ -277,7 +277,12 @@ export function LabContent({ className, html }: LabContentProps) {
|
||||
>
|
||||
<div className="lab-image-modal__surface" onClick={(event) => event.stopPropagation()}>
|
||||
{/* eslint-disable-next-line @next/next/no-img-element */}
|
||||
- <img className="lab-image-modal__image" src={zoomedImage.src} alt={zoomedImage.alt} />
|
||||
+ <img
|
||||
+ className="lab-image-modal__image"
|
||||
+ src={zoomedImage.src}
|
||||
+ alt={zoomedImage.alt}
|
||||
@@ -346,6 +346,7 @@ export function LabContent({ className, html }: LabContentProps) {
|
||||
<img
|
||||
className="lab-image-modal__image"
|
||||
src={zoomedImage.src}
|
||||
alt={zoomedImage.alt}
|
||||
+ referrerPolicy="no-referrer"
|
||||
+ />
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
) : null}
|
||||
|
||||
Reference in New Issue
Block a user