π¨ The ultimate agentic social media scheduling tool π€
TypeScript nextjsopen-sourceopen-source-social-media-scheduling-toolosspostiz-cloudpostiz-hostedredisscheduling-toolsocial-media-scheduling-tooltypescript
feat: canva intent
Nevo Davidcd48401e8c7e
diff --git a/.env.example b/.env.exampleindex 68e10256b..d91b43bc2 100644--- a/.env.example+++ b/.env.example@@ -51,6 +51,10 @@ STORAGE_PROVIDER="local"# Your upload directory path if you host your files locally, otherwise Cloudflare will be used.#NEXT_PUBLIC_UPLOAD_STATIC_DIRECTORY=""+# Only needed if you run your own Postiz Canva app: its origin from the Canva+# Developer Portal (Security -> Credentials), allowed by CORS on the backend.+#CANVA_APP_ORIGIN="https://app-xxxxxxxxxxx.canva-apps.com"+# Sign in with Apple (login provider)# APPLE_BUNDLE_ID: iOS app bundle id (native mobile sign-in)# APPLE_SERVICE_ID / TEAM_ID / KEY_ID / PRIVATE_KEY: web sign-in (Services ID + .p8 key)diff --git a/apps/backend/src/main.ts b/apps/backend/src/main.tsindex b60dc7d8e..94d75a0e0 100644--- a/apps/backend/src/main.ts+++ b/apps/backend/src/main.ts@@ -46,6 +46,10 @@ async function start() {process.env.FRONTEND_URL,'http://localhost:6274',...(process.env.MAIN_URL ? [process.env.MAIN_URL] : []),+ // Optional: the Canva app calls the public API from its iframe origin+ ...(process.env.CANVA_APP_ORIGIN+ ? [process.env.CANVA_APP_ORIGIN.trim().replace(/\/+$/, '')]+ : []),],},});