Skip to content

Commit

Permalink
Share URL edits.
Browse files Browse the repository at this point in the history
  • Loading branch information
turner committed Jul 11, 2024
1 parent cb4e98c commit 47c1c70
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions igvwebConfig.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,15 @@ var igvwebConfig = {
// Supply a drobpox api key to enable the Dropbox file picker in the load menus. This is optional
dropboxAPIKey: "8glijwyao9fq8we",

// Supply a Google client id to enable the Google file picker in the load menus. This is optional
// Supply a Google client id to enable the Google file picker in the load menus. This is optional
clientId: "661332306814-fmasnut050v7qds33tsa2rtvd5tc06sl.apps.googleusercontent.com",
apiKey: "AIzaSyCEmqU2lrAgKxJCbnJX87a5F3c9GejCCLA",

// Provide a URL shorterner function or object. This is optional. If not supplied
// sharable URLs will not be shortened .
urlShortener: {
provider: "tinyURL"
},
urlShortener:
{
},

enableCircularView: true,

Expand Down
2 changes: 1 addition & 1 deletion js/shareHelper.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ function setURLShortener(config) {
fn = config;

} else if (config.provider) {
if ("tinyURL" === config.provider /*&& (config.apiKey || config.api_token)*/) {
if ("tinyURL" === config.provider && (config.apiKey || config.api_token)) {
fn = tinyURLShortener(config);
} else if ("bitly" === config.provider && config.apiKey) {
fn = bitlyShortener(config.apiKey);
Expand Down

0 comments on commit 47c1c70

Please sign in to comment.