diff --git a/demo/app/global.css b/demo/app/global.css index b5c61c9..678869e 100644 --- a/demo/app/global.css +++ b/demo/app/global.css @@ -1,3 +1,7 @@ @tailwind base; @tailwind components; @tailwind utilities; + +body { + cursor: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='26'%20height='31'%20fill='none'%20viewBox='0%200%2026%2031'%3E%3Cpath%20fill='%23fff'%20fill-rule='evenodd'%20stroke='%23010101'%20stroke-linecap='square'%20stroke-width='2.5'%20d='M21.993%2014.425%202.549%202.935l4.444%2023.108%204.653-10.002%2010.347-1.616Z'%20clip-rule='evenodd'/%3E%3C/svg%3E"), grab; +} \ No newline at end of file diff --git a/demo/app/layout.tsx b/demo/app/layout.tsx index 67e8ba2..eec2690 100644 --- a/demo/app/layout.tsx +++ b/demo/app/layout.tsx @@ -28,7 +28,7 @@ export default function RootLayout({ children }: { children: React.ReactNode }) return (
{children} diff --git a/demo/components/WebSocketExample.tsx b/demo/components/WebSocketExample.tsx index b232bfe..6a71d8d 100644 --- a/demo/components/WebSocketExample.tsx +++ b/demo/components/WebSocketExample.tsx @@ -12,7 +12,7 @@ export interface ServerWSResponse { } export default function WebSocketExample({port = 8080}:{port?:number}){ - const server_ws_url = process.env.NODE_ENV === "production" ? `ws://localhost:${port}` : "ws://new-media.fly.dev" + const server_ws_url = process.env.NODE_ENV != "production" ? `ws://localhost:${port}` : "wss://new-media.fly.dev" const [imgMetadata, setImageMetadata] = useState