Skip to content

Commit

Permalink
Use correct plausible endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
iHiD committed Jun 10, 2021
1 parent 6474f33 commit c322c00
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/views/layouts/application.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@
#portal-container
- if Rails.env.production?
/ TODO: Change URL
%script{ defer: true, data: { domain: "exercism.lol", api: "/plausible/api/event", src: "plausible/js/script/js" } }
/ TODO: Change domain
%script{ defer: true, src: "/usage/js/script.js", data: { domain: "exercism.lol", api: "/usage/api/event" } }
/ TODO: Add test for this!
- flash.clear

0 comments on commit c322c00

Please sign in to comment.