Skip to content

Commit

Permalink
data: use v2 API
Browse files Browse the repository at this point in the history
  • Loading branch information
alxndr committed Oct 22, 2023
1 parent e6f1e3e commit 8375a65
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ n/a

### Updated

* data: URL for API updated to use v2
* style: hover effects


Expand Down
2 changes: 1 addition & 1 deletion assets/javascripts/discourse/initializers/setlist.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const HTML_CLASS_NAME_INVALID = `${HTML_CLASS_NAME}-invalid`;
const HTML_CLASS_NAME_PROCESSED = `${HTML_CLASS_NAME}-processed`;
const HTML_CLASS_NAME_PROCESSING = `${HTML_CLASS_NAME}-processing`;
const REGEX_DATE_FORMAT = /^(?<year>\d{4})-(?<month>\d{2})-(?<day>\d{2})(?:#(?<which>\d))?$/;
const API_BASE = 'https://kglw.net/api/v1';
const API_BASE = 'https://kglw.net/api/v2';

function log(...msgs) {
console.trace('%cKGLW', 'color:chartreuse;background:black;padding:0.5rem;border-radius:1rem', ...msgs)
Expand Down
2 changes: 1 addition & 1 deletion plugin.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# name: discourse-plugin-gizzard-setlist
# about: Turn a [setlist] code into a King Gizz setlist: `[setlist]2022-10-02[/setlist]` use `#2` to specify second show on same date `[setlist]2023-06-08#2[/setlist]`
# version: 0.2.0
# version: 0.2.1
# authors: KGLW.net, Axe <[email protected]>
# url: https://github.com/kglw-dot-net/discourse-plugin-gizzard-setlist

Expand Down

0 comments on commit 8375a65

Please sign in to comment.