Compare commits
No commits in common. "a7066a34cd2fec21ceaa05853cbadc119d0541d4" and "c43a171794d4ab8b3c6946a958c49a49c4fd0edb" have entirely different histories.
a7066a34cd
...
c43a171794
@ -70,7 +70,7 @@ export default function useModal () {
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<Modal
|
<Modal
|
||||||
onHide={keepOpen ? undefined : onClose} show={!!content}
|
onHide={keepOpen ? () => {} : onClose} show={!!content}
|
||||||
className={className}
|
className={className}
|
||||||
dialogClassName={className}
|
dialogClassName={className}
|
||||||
contentClassName={className}
|
contentClassName={className}
|
||||||
|
@ -83,7 +83,7 @@ export function middleware (request) {
|
|||||||
|
|
||||||
const cspHeader = [
|
const cspHeader = [
|
||||||
// if something is not explicitly allowed, we don't allow it.
|
// if something is not explicitly allowed, we don't allow it.
|
||||||
"default-src 'self' a.stacker.news",
|
"default-src 'none'",
|
||||||
"font-src 'self' a.stacker.news",
|
"font-src 'self' a.stacker.news",
|
||||||
// we want to load images from everywhere but we can limit to HTTPS at least
|
// we want to load images from everywhere but we can limit to HTTPS at least
|
||||||
"img-src 'self' a.stacker.news m.stacker.news https: data: blob:" + devSrc,
|
"img-src 'self' a.stacker.news m.stacker.news https: data: blob:" + devSrc,
|
||||||
|
@ -1,4 +0,0 @@
|
|||||||
-- we had a bug where it was possible to delete bios, this migration will restore them
|
|
||||||
UPDATE "Item"
|
|
||||||
SET "deletedAt" = NULL
|
|
||||||
WHERE "bio"
|
|
Loading…
x
Reference in New Issue
Block a user