8000 Release cState v5.1 - JSON API bugfix & SVG shields for individual systems · cstate/cstate · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

cState v5.1 - JSON API bugfix & SVG shields for individual systems

Compare
Choose a tag to compare
@mistermantas mistermantas released this 02 Oct 14:52
c2a1e85

Today we're celebrating Hacktoberfest with a critical bugfix to the JSON API so it works properly when checking for a singular component status (unneeded , removed) and expanding 'shields' - SVG badges - to show status for ANY component as per a user suggestion - #208.

You will need to change the config.yml file for this feature to be enabled. (If you use Netlify CMS, just update your site configuration and the SVG links for specific components will start working after the next deploy.)

This is what your outputs should look like:


outputs:
  page:
    - html
    - json
  section:
    - html
    - json
    - rss
  home:
    - html
    - json
    - rss
    - svg
  term:
    - html
    - json
    - rss
    - svg

Notice that svg is now added to the bottom under term as well as home.

Once you've done that, go to yourexamplesite.com/affected/api/index.svg (or basically just click open the status page, click on one component (in this case it's API) and then add /index.svg to the end of the link.

cState is starred by 1426 people.

0