mirror of
https://github.com/TheRealOwenRees/chess-endgame-trainer.git
synced 2026-11-18 11:42:07 +00:00
* Align Postgres version on 18.6 * Document production tablebase path and permissions * Add cookieless Matomo analytics with opt-out (#131)
This commit is contained in:
@@ -21,6 +21,8 @@
|
||||
import "phoenix_html";
|
||||
// Plain-DOM mobile navigation (works on controller and LiveView pages).
|
||||
import "./nav";
|
||||
// Cookieless Matomo for anonymous public pages.
|
||||
import { initAnalytics } from "./analytics";
|
||||
// Establish Phoenix Socket and LiveView configuration.
|
||||
import { Socket } from "phoenix";
|
||||
import { LiveSocket } from "phoenix_live_view";
|
||||
@@ -58,6 +60,8 @@ liveSocket.connect();
|
||||
// >> liveSocket.disableLatencySim()
|
||||
window.liveSocket = liveSocket;
|
||||
|
||||
initAnalytics();
|
||||
|
||||
// The lines below enable quality of life phoenix_live_reload
|
||||
// development features:
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user