This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React, { useState, useEffect } from "react" | |
// We will import react-markdown and remark-gfm dynamically on the client | |
// import ReactMarkdown from "https://cdn.skypack.dev/react-markdown@8?min" // REMOVED STATIC IMPORT | |
// import remarkGfm from "https://esm.sh/remark-gfm@3?conditions=worker&bundle" // REMOVED STATIC IMPORT | |
import { addPropertyControls, ControlType } from "framer" | |
// Store your main styles in a constant | |
const MARKDOWN_STYLES = ` | |
.markdown-container { | |
width: 100%; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
proxy_http_version 1.1; | |
proxy_set_header Upgrade $http_upgrade; | |
proxy_set_header Connection "upgrade"; | |
proxy_read_timeout 900s; | |
proxy_connect_timeout 300s; | |
# mitigate HttpProxy attack | |
proxy_set_header Proxy ""; |