Loading portal/static/js/gitlab.mjs +6 −1 Original line number Diff line number Diff line Loading @@ -56,6 +56,11 @@ async function canAccess(imageUrl) { export async function isLoggedIn() {} export async function canAccessProtocols() {} /** * @returns if the browser session has access to the protocols repo on GitLab */ export async function canAccessProtocols() { return await canAccess("https://gitlab.cl.uni-heidelberg.de/api/v4/projects/1193/jobs/artifacts/master/raw/pixel.png?job=create-test-pixel") } export async function getLatestProtocolFileName() {} Loading
portal/static/js/gitlab.mjs +6 −1 Original line number Diff line number Diff line Loading @@ -56,6 +56,11 @@ async function canAccess(imageUrl) { export async function isLoggedIn() {} export async function canAccessProtocols() {} /** * @returns if the browser session has access to the protocols repo on GitLab */ export async function canAccessProtocols() { return await canAccess("https://gitlab.cl.uni-heidelberg.de/api/v4/projects/1193/jobs/artifacts/master/raw/pixel.png?job=create-test-pixel") } export async function getLatestProtocolFileName() {}