Skip to content

Commit 1a662de

Browse files
committed
disable x-frame-options to allow app preview in workshop app
1 parent c3ac687 commit 1a662de

File tree

26 files changed

+26
-7
lines changed

26 files changed

+26
-7
lines changed

exercises/01.fundamentals/02.problem.running-the-app/app/entry.server.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@ export default async function handleRequest(...args: DocRequestArgs) {
8888
},
8989
},
9090
},
91+
xFrameOptions: false,
9192
})
9293

9394
resolve(

exercises/01.fundamentals/02.solution.running-the-app/app/entry.server.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@ export default async function handleRequest(...args: DocRequestArgs) {
8888
},
8989
},
9090
},
91+
xFrameOptions: false,
9192
})
9293

9394
resolve(

exercises/01.fundamentals/03.problem.custom-fixtures/app/entry.server.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@ export default async function handleRequest(...args: DocRequestArgs) {
8888
},
8989
},
9090
},
91+
xFrameOptions: false,
9192
})
9293

9394
resolve(

exercises/01.fundamentals/03.solution.custom-fixtures/app/entry.server.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@ export default async function handleRequest(...args: DocRequestArgs) {
8888
},
8989
},
9090
},
91+
xFrameOptions: false,
9192
})
9293

9394
resolve(

exercises/02.authentication/01.problem.basic/app/entry.server.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@ export default async function handleRequest(...args: DocRequestArgs) {
8888
},
8989
},
9090
},
91+
xFrameOptions: false,
9192
})
9293

9394
resolve(

exercises/02.authentication/01.solution.basic/app/entry.server.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@ export default async function handleRequest(...args: DocRequestArgs) {
8888
},
8989
},
9090
},
91+
xFrameOptions: false,
9192
})
9293

9394
resolve(

exercises/02.authentication/02.problem.2fa/app/entry.server.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@ export default async function handleRequest(...args: DocRequestArgs) {
8888
},
8989
},
9090
},
91+
xFrameOptions: false,
9192
})
9293

9394
resolve(

exercises/02.authentication/02.solution.2fa/app/entry.server.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@ export default async function handleRequest(...args: DocRequestArgs) {
8888
},
8989
},
9090
},
91+
xFrameOptions: false,
9192
})
9293

9394
resolve(

exercises/02.authentication/03.problem.passkeys/app/entry.server.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,8 +88,8 @@ export default async function handleRequest(...args: DocRequestArgs) {
8888
},
8989
},
9090
},
91+
xFrameOptions: false,
9192
})
92-
9393
resolve(
9494
new Response(createReadableStreamFromReadable(body), {
9595
headers: responseHeaders,

exercises/02.authentication/03.solution.passkeys/app/entry.server.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,8 +88,8 @@ export default async function handleRequest(...args: DocRequestArgs) {
8888
},
8989
},
9090
},
91+
xFrameOptions: false,
9192
})
92-
9393
resolve(
9494
new Response(createReadableStreamFromReadable(body), {
9595
headers: responseHeaders,

0 commit comments

Comments
 (0)