<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[CORS in Ghost env?]]></title><description><![CDATA[<p dir="auto">I'd like to use this Translation widget. <a href="https://github.com/OmDongaonkar03/Translation-Widget" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/OmDongaonkar03/Translation-Widget</a></p>
<p dir="auto">As we can't run PHP in our Ghost container It's set up here: <a href="https://transitionnetwork.org/remote-widgets/translate.php" target="_blank" rel="noopener noreferrer nofollow ugc">https://transitionnetwork.org/remote-widgets/translate.php</a></p>
<p dir="auto">However when the widget is loaded on my Cloudron hosted Ghost: <a href="https://news.transitionnetwork.org/" target="_blank" rel="noopener noreferrer nofollow ugc">https://news.transitionnetwork.org/</a> (blue widget behind the temporary Gtranslate one)</p>
<p dir="auto">It doesn't work. We suspect a CORS issue, I see that in other apps you can add CORS to the ENV variable. Is that something that would work for Ghost?</p>
<p dir="auto">If it would what would be the correct syntax please?</p>
]]></description><link>https://forum.cloudron.io/topic/13740/cors-in-ghost-env</link><generator>RSS for Node</generator><lastBuildDate>Tue, 10 Nov 2026 03:04:55 GMT</lastBuildDate><atom:link href="https://forum.cloudron.io/topic/13740.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 07 May 2025 09:44:42 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to CORS in Ghost env? on Thu, 08 May 2025 04:34:01 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/samuk" aria-label="Profile: samuk">@<bdi>samuk</bdi></a> Please always try to show, or explain, what the solution was. This helps anyone else with the same or similar issue.</p>
]]></description><link>https://forum.cloudron.io/post/106777</link><guid isPermaLink="true">https://forum.cloudron.io/post/106777</guid><dc:creator><![CDATA[scooke]]></dc:creator><pubDate>Thu, 08 May 2025 04:34:01 GMT</pubDate></item><item><title><![CDATA[Reply to CORS in Ghost env? on Wed, 07 May 2025 22:53:43 GMT]]></title><description><![CDATA[<p dir="auto">Thanks, it works now. Slooow, but working.</p>
]]></description><link>https://forum.cloudron.io/post/106775</link><guid isPermaLink="true">https://forum.cloudron.io/post/106775</guid><dc:creator><![CDATA[samuk]]></dc:creator><pubDate>Wed, 07 May 2025 22:53:43 GMT</pubDate></item><item><title><![CDATA[Reply to CORS in Ghost env? on Wed, 07 May 2025 10:01:24 GMT]]></title><description><![CDATA[<p dir="auto">So looking at the webinspector while trying to use the translation widget, it reveals that the CORS preflight check (OPTIONS <a href="https://transitionnetwork.org/remote-widgets/translate.php" target="_blank" rel="noopener noreferrer nofollow ugc">https://transitionnetwork.org/remote-widgets/translate.php</a>) does not succeed. This means you have to allow CORS (and thus responding to the OPTIONS call) in your php application.</p>
]]></description><link>https://forum.cloudron.io/post/106749</link><guid isPermaLink="true">https://forum.cloudron.io/post/106749</guid><dc:creator><![CDATA[nebulon]]></dc:creator><pubDate>Wed, 07 May 2025 10:01:24 GMT</pubDate></item></channel></rss>