Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion cal/src/support/dataPool.js
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,8 @@ export default {
// make an endpoints file of some sort that dataPool uses.
// ( and then have callers of this use that file directly )
getExportURL(id) {
return buildUrl(API_ICS_URL, {id});
// TEST HACK
return "webcal://www.shift2bikes.org/api/ics.php?id=12788";
},
}

Expand Down
4 changes: 3 additions & 1 deletion site/themes/s2b_hugo_theme/assets/js/cal/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,9 @@ $(document).ready(function() {

let exportURL = new URL(API_ICS_URL);
exportURL.searchParams.set('id', value.id);
value.exportlink = exportURL.toString();

// TEST HACK
value.exportlink = "webcal://www.shift2bikes.org/api/ics.php?id=12788";

value.addToGoogleLink = container.getAddToGoogleLink(value);

Expand Down