Skip to content

Commit

Permalink
open-in-swan: fix url
Browse files Browse the repository at this point in the history
  • Loading branch information
diocas committed Sep 15, 2022
1 parent bf1dd7a commit 641dc11
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion open-in-swan/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ const appInfo = {
.join('/')}`

if (path.startsWith('/eos/')) {
window.open(`https://cern.ch/swanserver/cgi-bin/go?projurl=file://${path}`, '_blank')
window.open(`https://cern.ch/swanserver/cgi-bin/go?projurl=file:/${path}`, '_blank')
} else {
// FIXME
alert('Cannot open this file in SWAN')
Expand Down

0 comments on commit 641dc11

Please sign in to comment.