You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 30, 2024. It is now read-only.
set sourcegraph url to self hosted sourcegraph instance
Expected behavior:
extensions shows data from sourcegraph
Actual behavior:
extension cant conntect to sourcegraph as it is blocked by CORS policy
[phorge-url]/:1 Access to fetch at 'https://[sourcegraph-url]/.assets/extension/css/style.bundle.css?v=0.0.0' from origin 'https://[phorge-url]' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.
VM376:1 GET https://[sourcegraph-url]/.assets/extension/css/style.bundle.css?v=0.0.0 net::ERR_FAILED 200
(anonymous) @ VM376:1
(anonymous) @ codeHost.tsx:720
DT @ codeHost.tsx:720
(anonymous) @ codeHost.tsx:720
(anonymous) @ codeHost.tsx:720
(anonymous) @ codeHost.tsx:720
(anonymous) @ codeHost.tsx:720
codeHost.tsx:720 Error initializing Phabricator integration TypeError: Failed to fetch
at <anonymous>:1:876
at codeHost.tsx:720:1
at DT (codeHost.tsx:720:1)
at Array.map (<anonymous>)
at codeHost.tsx:720:1
at codeHost.tsx:720:1
at codeHost.tsx:720:1
at codeHost.tsx:720:1
(anonymous) @ codeHost.tsx:720
Promise.catch (async)
(anonymous) @ codeHost.tsx:720
(anonymous) @ codeHost.tsx:720
(anonymous) @ codeHost.tsx:720
[phorge-url]/:1 Access to fetch at 'https://[sourcegraph-url]/.assets/extension/css/style.bundle.css?v=0.0.0' from origin 'https://[phorge-url] has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.
VM376:1 GET https://[sorucegraph-url]/.assets/extension/css/style.bundle.css?v=0.0.0 net::ERR_FAILED 200
(anonymous) @ VM376:1
(anonymous) @ codeHost.tsx:720
DT @ codeHost.tsx:720
(anonymous) @ codeHost.tsx:720
(anonymous) @ codeHost.tsx:720
(anonymous) @ codeHost.tsx:720
(anonymous) @ codeHost.tsx:720
This used to happen on the chrome browser extension too so suspect the latest version of the extension hasn't been bundled with sourcegraph.
Steps to reproduce:
Expected behavior:
extensions shows data from sourcegraph
Actual behavior:
extension cant conntect to sourcegraph as it is blocked by CORS policy
This used to happen on the chrome browser extension too so suspect the latest version of the extension hasn't been bundled with sourcegraph.